home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / xcb / xv.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-09-17  |  99.2 KB  |  3,246 lines

  1. /*
  2.  * This file generated automatically from xv.xml by c-client.xsl using XSLT.
  3.  * Edit at your peril.
  4.  */
  5.  
  6. /**
  7.  * @defgroup XCB_Xv_API XCB Xv API
  8.  * @brief Xv XCB Protocol Implementation.
  9.  * @{
  10.  **/
  11.  
  12. #ifndef __XV_H
  13. #define __XV_H
  14.  
  15. #include "xcb.h"
  16. #include "xproto.h"
  17. #include "shm.h"
  18.  
  19. #define XCB_XV_MAJOR_VERSION 2
  20. #define XCB_XV_MINOR_VERSION 2
  21.   
  22. extern xcb_extension_t xcb_xv_id;
  23.  
  24. typedef uint32_t xcb_xv_port_t;
  25.  
  26. /**
  27.  * @brief xcb_xv_port_iterator_t
  28.  **/
  29. typedef struct xcb_xv_port_iterator_t {
  30.     xcb_xv_port_t *data; /**<  */
  31.     int            rem; /**<  */
  32.     int            index; /**<  */
  33. } xcb_xv_port_iterator_t;
  34.  
  35. typedef uint32_t xcb_xv_encoding_t;
  36.  
  37. /**
  38.  * @brief xcb_xv_encoding_iterator_t
  39.  **/
  40. typedef struct xcb_xv_encoding_iterator_t {
  41.     xcb_xv_encoding_t *data; /**<  */
  42.     int                rem; /**<  */
  43.     int                index; /**<  */
  44. } xcb_xv_encoding_iterator_t;
  45.  
  46. typedef enum xcb_xv_type_t {
  47.     XCB_XV_TYPE_INPUT_MASK = 0x00000001,
  48.     XCB_XV_TYPE_OUTPUT_MASK = 0x00000002,
  49.     XCB_XV_TYPE_VIDEO_MASK = 0x00000004,
  50.     XCB_XV_TYPE_STILL_MASK = 0x00000008,
  51.     XCB_XV_TYPE_IMAGE_MASK = 0x00000010
  52. } xcb_xv_type_t;
  53.  
  54. typedef enum xcb_xv_image_format_info_type_t {
  55.     XCB_XV_IMAGE_FORMAT_INFO_TYPE_RGB,
  56.     XCB_XV_IMAGE_FORMAT_INFO_TYPE_YUV
  57. } xcb_xv_image_format_info_type_t;
  58.  
  59. typedef enum xcb_xv_image_format_info_format_t {
  60.     XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PACKED,
  61.     XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PLANAR
  62. } xcb_xv_image_format_info_format_t;
  63.  
  64. typedef enum xcb_xv_attribute_flag_t {
  65.     XCB_XV_ATTRIBUTE_FLAG_GETTABLE = 0x01,
  66.     XCB_XV_ATTRIBUTE_FLAG_SETTABLE = 0x02
  67. } xcb_xv_attribute_flag_t;
  68.  
  69. /**
  70.  * @brief xcb_xv_rational_t
  71.  **/
  72. typedef struct xcb_xv_rational_t {
  73.     int32_t numerator; /**<  */
  74.     int32_t denominator; /**<  */
  75. } xcb_xv_rational_t;
  76.  
  77. /**
  78.  * @brief xcb_xv_rational_iterator_t
  79.  **/
  80. typedef struct xcb_xv_rational_iterator_t {
  81.     xcb_xv_rational_t *data; /**<  */
  82.     int                rem; /**<  */
  83.     int                index; /**<  */
  84. } xcb_xv_rational_iterator_t;
  85.  
  86. /**
  87.  * @brief xcb_xv_adaptor_info_t
  88.  **/
  89. typedef struct xcb_xv_adaptor_info_t {
  90.     xcb_xv_port_t base_id; /**<  */
  91.     uint16_t      name_size; /**<  */
  92.     uint16_t      num_ports; /**<  */
  93.     uint16_t      num_formats; /**<  */
  94.     uint8_t       type; /**<  */
  95.     uint8_t       pad; /**<  */
  96. } xcb_xv_adaptor_info_t;
  97.  
  98. /**
  99.  * @brief xcb_xv_adaptor_info_iterator_t
  100.  **/
  101. typedef struct xcb_xv_adaptor_info_iterator_t {
  102.     xcb_xv_adaptor_info_t *data; /**<  */
  103.     int                    rem; /**<  */
  104.     int                    index; /**<  */
  105. } xcb_xv_adaptor_info_iterator_t;
  106.  
  107. /**
  108.  * @brief xcb_xv_encoding_info_t
  109.  **/
  110. typedef struct xcb_xv_encoding_info_t {
  111.     xcb_xv_encoding_t encoding; /**<  */
  112.     uint16_t          name_size; /**<  */
  113.     uint16_t          width; /**<  */
  114.     uint16_t          height; /**<  */
  115.     xcb_xv_rational_t rate; /**<  */
  116. } xcb_xv_encoding_info_t;
  117.  
  118. /**
  119.  * @brief xcb_xv_encoding_info_iterator_t
  120.  **/
  121. typedef struct xcb_xv_encoding_info_iterator_t {
  122.     xcb_xv_encoding_info_t *data; /**<  */
  123.     int                     rem; /**<  */
  124.     int                     index; /**<  */
  125. } xcb_xv_encoding_info_iterator_t;
  126.  
  127. /**
  128.  * @brief xcb_xv_format_t
  129.  **/
  130. typedef struct xcb_xv_format_t {
  131.     xcb_visualid_t visual; /**<  */
  132.     uint8_t        depth; /**<  */
  133. } xcb_xv_format_t;
  134.  
  135. /**
  136.  * @brief xcb_xv_format_iterator_t
  137.  **/
  138. typedef struct xcb_xv_format_iterator_t {
  139.     xcb_xv_format_t *data; /**<  */
  140.     int              rem; /**<  */
  141.     int              index; /**<  */
  142. } xcb_xv_format_iterator_t;
  143.  
  144. /**
  145.  * @brief xcb_xv_image_t
  146.  **/
  147. typedef struct xcb_xv_image_t {
  148.     uint32_t id; /**<  */
  149.     uint16_t width; /**<  */
  150.     uint16_t height; /**<  */
  151.     uint32_t data_size; /**<  */
  152.     uint32_t num_planes; /**<  */
  153. } xcb_xv_image_t;
  154.  
  155. /**
  156.  * @brief xcb_xv_image_iterator_t
  157.  **/
  158. typedef struct xcb_xv_image_iterator_t {
  159.     xcb_xv_image_t *data; /**<  */
  160.     int             rem; /**<  */
  161.     int             index; /**<  */
  162. } xcb_xv_image_iterator_t;
  163.  
  164. /**
  165.  * @brief xcb_xv_attribute_info_t
  166.  **/
  167. typedef struct xcb_xv_attribute_info_t {
  168.     uint32_t flags; /**<  */
  169.     int32_t  min; /**<  */
  170.     int32_t  max; /**<  */
  171.     uint32_t size; /**<  */
  172. } xcb_xv_attribute_info_t;
  173.  
  174. /**
  175.  * @brief xcb_xv_attribute_info_iterator_t
  176.  **/
  177. typedef struct xcb_xv_attribute_info_iterator_t {
  178.     xcb_xv_attribute_info_t *data; /**<  */
  179.     int                      rem; /**<  */
  180.     int                      index; /**<  */
  181. } xcb_xv_attribute_info_iterator_t;
  182.  
  183. /**
  184.  * @brief xcb_xv_image_format_info_t
  185.  **/
  186. typedef struct xcb_xv_image_format_info_t {
  187.     uint32_t id; /**<  */
  188.     uint8_t  type; /**<  */
  189.     uint8_t  byte_order; /**<  */
  190.     uint16_t pad1; /**<  */
  191.     uint8_t  guid[16]; /**<  */
  192.     uint8_t  bpp; /**<  */
  193.     uint8_t  num_planes; /**<  */
  194.     uint16_t pad2; /**<  */
  195.     uint8_t  depth; /**<  */
  196.     uint8_t  pad3; /**<  */
  197.     uint16_t pad4; /**<  */
  198.     uint32_t red_mask; /**<  */
  199.     uint32_t green_mask; /**<  */
  200.     uint32_t blue_mask; /**<  */
  201.     uint8_t  format; /**<  */
  202.     uint8_t  pad5; /**<  */
  203.     uint16_t pad6; /**<  */
  204.     uint32_t y_sample_bits; /**<  */
  205.     uint32_t u_sample_bits; /**<  */
  206.     uint32_t v_sample_bits; /**<  */
  207.     uint32_t vhorz_y_period; /**<  */
  208.     uint32_t vhorz_u_period; /**<  */
  209.     uint32_t vhorz_v_period; /**<  */
  210.     uint32_t vvert_y_period; /**<  */
  211.     uint32_t vvert_u_period; /**<  */
  212.     uint32_t vvert_v_period; /**<  */
  213.     uint8_t  vcomp_order[32]; /**<  */
  214.     uint8_t  vscanline_order; /**<  */
  215.     uint8_t  vpad7; /**<  */
  216.     uint16_t vpad8; /**<  */
  217.     uint32_t vpad9; /**<  */
  218.     uint32_t vpad10; /**<  */
  219. } xcb_xv_image_format_info_t;
  220.  
  221. /**
  222.  * @brief xcb_xv_image_format_info_iterator_t
  223.  **/
  224. typedef struct xcb_xv_image_format_info_iterator_t {
  225.     xcb_xv_image_format_info_t *data; /**<  */
  226.     int                         rem; /**<  */
  227.     int                         index; /**<  */
  228. } xcb_xv_image_format_info_iterator_t;
  229.  
  230. /** Opcode for xcb_xv_bad_port. */
  231. #define XCB_XV_BAD_PORT 0
  232.  
  233. /**
  234.  * @brief xcb_xv_bad_port_error_t
  235.  **/
  236. typedef struct xcb_xv_bad_port_error_t {
  237.     uint8_t  response_type; /**<  */
  238.     uint8_t  error_code; /**<  */
  239.     uint16_t sequence; /**<  */
  240. } xcb_xv_bad_port_error_t;
  241.  
  242. /** Opcode for xcb_xv_bad_encoding. */
  243. #define XCB_XV_BAD_ENCODING 1
  244.  
  245. /**
  246.  * @brief xcb_xv_bad_encoding_error_t
  247.  **/
  248. typedef struct xcb_xv_bad_encoding_error_t {
  249.     uint8_t  response_type; /**<  */
  250.     uint8_t  error_code; /**<  */
  251.     uint16_t sequence; /**<  */
  252. } xcb_xv_bad_encoding_error_t;
  253.  
  254. /** Opcode for xcb_xv_bad_control. */
  255. #define XCB_XV_BAD_CONTROL 2
  256.  
  257. /**
  258.  * @brief xcb_xv_bad_control_error_t
  259.  **/
  260. typedef struct xcb_xv_bad_control_error_t {
  261.     uint8_t  response_type; /**<  */
  262.     uint8_t  error_code; /**<  */
  263.     uint16_t sequence; /**<  */
  264. } xcb_xv_bad_control_error_t;
  265.  
  266. /** Opcode for xcb_xv_video_notify. */
  267. #define XCB_XV_VIDEO_NOTIFY 0
  268.  
  269. /**
  270.  * @brief xcb_xv_video_notify_event_t
  271.  **/
  272. typedef struct xcb_xv_video_notify_event_t {
  273.     uint8_t         response_type; /**<  */
  274.     uint8_t         reason; /**<  */
  275.     uint16_t        sequence; /**<  */
  276.     xcb_timestamp_t time; /**<  */
  277.     xcb_drawable_t  drawable; /**<  */
  278.     xcb_xv_port_t   port; /**<  */
  279. } xcb_xv_video_notify_event_t;
  280.  
  281. /** Opcode for xcb_xv_port_notify. */
  282. #define XCB_XV_PORT_NOTIFY 1
  283.  
  284. /**
  285.  * @brief xcb_xv_port_notify_event_t
  286.  **/
  287. typedef struct xcb_xv_port_notify_event_t {
  288.     uint8_t         response_type; /**<  */
  289.     uint8_t         pad0; /**<  */
  290.     uint16_t        sequence; /**<  */
  291.     xcb_timestamp_t time; /**<  */
  292.     xcb_xv_port_t   port; /**<  */
  293.     xcb_atom_t      attribute; /**<  */
  294.     int32_t         value; /**<  */
  295. } xcb_xv_port_notify_event_t;
  296.  
  297. /**
  298.  * @brief xcb_xv_query_extension_cookie_t
  299.  **/
  300. typedef struct xcb_xv_query_extension_cookie_t {
  301.     unsigned int sequence; /**<  */
  302. } xcb_xv_query_extension_cookie_t;
  303.  
  304. /** Opcode for xcb_xv_query_extension. */
  305. #define XCB_XV_QUERY_EXTENSION 0
  306.  
  307. /**
  308.  * @brief xcb_xv_query_extension_request_t
  309.  **/
  310. typedef struct xcb_xv_query_extension_request_t {
  311.     uint8_t  major_opcode; /**<  */
  312.     uint8_t  minor_opcode; /**<  */
  313.     uint16_t length; /**<  */
  314. } xcb_xv_query_extension_request_t;
  315.  
  316. /**
  317.  * @brief xcb_xv_query_extension_reply_t
  318.  **/
  319. typedef struct xcb_xv_query_extension_reply_t {
  320.     uint8_t  response_type; /**<  */
  321.     uint8_t  pad0; /**<  */
  322.     uint16_t sequence; /**<  */
  323.     uint32_t length; /**<  */
  324.     uint16_t major; /**<  */
  325.     uint16_t minor; /**<  */
  326. } xcb_xv_query_extension_reply_t;
  327.  
  328. /**
  329.  * @brief xcb_xv_query_adaptors_cookie_t
  330.  **/
  331. typedef struct xcb_xv_query_adaptors_cookie_t {
  332.     unsigned int sequence; /**<  */
  333. } xcb_xv_query_adaptors_cookie_t;
  334.  
  335. /** Opcode for xcb_xv_query_adaptors. */
  336. #define XCB_XV_QUERY_ADAPTORS 1
  337.  
  338. /**
  339.  * @brief xcb_xv_query_adaptors_request_t
  340.  **/
  341. typedef struct xcb_xv_query_adaptors_request_t {
  342.     uint8_t      major_opcode; /**<  */
  343.     uint8_t      minor_opcode; /**<  */
  344.     uint16_t     length; /**<  */
  345.     xcb_window_t window; /**<  */
  346. } xcb_xv_query_adaptors_request_t;
  347.  
  348. /**
  349.  * @brief xcb_xv_query_adaptors_reply_t
  350.  **/
  351. typedef struct xcb_xv_query_adaptors_reply_t {
  352.     uint8_t  response_type; /**<  */
  353.     uint8_t  pad0; /**<  */
  354.     uint16_t sequence; /**<  */
  355.     uint32_t length; /**<  */
  356.     uint16_t num_adaptors; /**<  */
  357.     uint8_t  pad1[22]; /**<  */
  358. } xcb_xv_query_adaptors_reply_t;
  359.  
  360. /**
  361.  * @brief xcb_xv_query_encodings_cookie_t
  362.  **/
  363. typedef struct xcb_xv_query_encodings_cookie_t {
  364.     unsigned int sequence; /**<  */
  365. } xcb_xv_query_encodings_cookie_t;
  366.  
  367. /** Opcode for xcb_xv_query_encodings. */
  368. #define XCB_XV_QUERY_ENCODINGS 2
  369.  
  370. /**
  371.  * @brief xcb_xv_query_encodings_request_t
  372.  **/
  373. typedef struct xcb_xv_query_encodings_request_t {
  374.     uint8_t       major_opcode; /**<  */
  375.     uint8_t       minor_opcode; /**<  */
  376.     uint16_t      length; /**<  */
  377.     xcb_xv_port_t port; /**<  */
  378. } xcb_xv_query_encodings_request_t;
  379.  
  380. /**
  381.  * @brief xcb_xv_query_encodings_reply_t
  382.  **/
  383. typedef struct xcb_xv_query_encodings_reply_t {
  384.     uint8_t  response_type; /**<  */
  385.     uint8_t  pad0; /**<  */
  386.     uint16_t sequence; /**<  */
  387.     uint32_t length; /**<  */
  388.     uint16_t num_encodings; /**<  */
  389.     uint8_t  pad1[22]; /**<  */
  390. } xcb_xv_query_encodings_reply_t;
  391.  
  392. /**
  393.  * @brief xcb_xv_grab_port_cookie_t
  394.  **/
  395. typedef struct xcb_xv_grab_port_cookie_t {
  396.     unsigned int sequence; /**<  */
  397. } xcb_xv_grab_port_cookie_t;
  398.  
  399. /** Opcode for xcb_xv_grab_port. */
  400. #define XCB_XV_GRAB_PORT 3
  401.  
  402. /**
  403.  * @brief xcb_xv_grab_port_request_t
  404.  **/
  405. typedef struct xcb_xv_grab_port_request_t {
  406.     uint8_t         major_opcode; /**<  */
  407.     uint8_t         minor_opcode; /**<  */
  408.     uint16_t        length; /**<  */
  409.     xcb_xv_port_t   port; /**<  */
  410.     xcb_timestamp_t time; /**<  */
  411. } xcb_xv_grab_port_request_t;
  412.  
  413. /**
  414.  * @brief xcb_xv_grab_port_reply_t
  415.  **/
  416. typedef struct xcb_xv_grab_port_reply_t {
  417.     uint8_t  response_type; /**<  */
  418.     uint8_t  result; /**<  */
  419.     uint16_t sequence; /**<  */
  420.     uint32_t length; /**<  */
  421. } xcb_xv_grab_port_reply_t;
  422.  
  423. /** Opcode for xcb_xv_ungrab_port. */
  424. #define XCB_XV_UNGRAB_PORT 4
  425.  
  426. /**
  427.  * @brief xcb_xv_ungrab_port_request_t
  428.  **/
  429. typedef struct xcb_xv_ungrab_port_request_t {
  430.     uint8_t         major_opcode; /**<  */
  431.     uint8_t         minor_opcode; /**<  */
  432.     uint16_t        length; /**<  */
  433.     xcb_xv_port_t   port; /**<  */
  434.     xcb_timestamp_t time; /**<  */
  435. } xcb_xv_ungrab_port_request_t;
  436.  
  437. /** Opcode for xcb_xv_put_video. */
  438. #define XCB_XV_PUT_VIDEO 5
  439.  
  440. /**
  441.  * @brief xcb_xv_put_video_request_t
  442.  **/
  443. typedef struct xcb_xv_put_video_request_t {
  444.     uint8_t        major_opcode; /**<  */
  445.     uint8_t        minor_opcode; /**<  */
  446.     uint16_t       length; /**<  */
  447.     xcb_xv_port_t  port; /**<  */
  448.     xcb_drawable_t drawable; /**<  */
  449.     xcb_gcontext_t gc; /**<  */
  450.     int16_t        vid_x; /**<  */
  451.     int16_t        vid_y; /**<  */
  452.     uint16_t       vid_w; /**<  */
  453.     uint16_t       vid_h; /**<  */
  454.     int16_t        drw_x; /**<  */
  455.     int16_t        drw_y; /**<  */
  456.     uint16_t       drw_w; /**<  */
  457.     uint16_t       drw_h; /**<  */
  458. } xcb_xv_put_video_request_t;
  459.  
  460. /** Opcode for xcb_xv_put_still. */
  461. #define XCB_XV_PUT_STILL 6
  462.  
  463. /**
  464.  * @brief xcb_xv_put_still_request_t
  465.  **/
  466. typedef struct xcb_xv_put_still_request_t {
  467.     uint8_t        major_opcode; /**<  */
  468.     uint8_t        minor_opcode; /**<  */
  469.     uint16_t       length; /**<  */
  470.     xcb_xv_port_t  port; /**<  */
  471.     xcb_drawable_t drawable; /**<  */
  472.     xcb_gcontext_t gc; /**<  */
  473.     int16_t        vid_x; /**<  */
  474.     int16_t        vid_y; /**<  */
  475.     uint16_t       vid_w; /**<  */
  476.     uint16_t       vid_h; /**<  */
  477.     int16_t        drw_x; /**<  */
  478.     int16_t        drw_y; /**<  */
  479.     uint16_t       drw_w; /**<  */
  480.     uint16_t       drw_h; /**<  */
  481. } xcb_xv_put_still_request_t;
  482.  
  483. /** Opcode for xcb_xv_get_video. */
  484. #define XCB_XV_GET_VIDEO 7
  485.  
  486. /**
  487.  * @brief xcb_xv_get_video_request_t
  488.  **/
  489. typedef struct xcb_xv_get_video_request_t {
  490.     uint8_t        major_opcode; /**<  */
  491.     uint8_t        minor_opcode; /**<  */
  492.     uint16_t       length; /**<  */
  493.     xcb_xv_port_t  port; /**<  */
  494.     xcb_drawable_t drawable; /**<  */
  495.     xcb_gcontext_t gc; /**<  */
  496.     int16_t        vid_x; /**<  */
  497.     int16_t        vid_y; /**<  */
  498.     uint16_t       vid_w; /**<  */
  499.     uint16_t       vid_h; /**<  */
  500.     int16_t        drw_x; /**<  */
  501.     int16_t        drw_y; /**<  */
  502.     uint16_t       drw_w; /**<  */
  503.     uint16_t       drw_h; /**<  */
  504. } xcb_xv_get_video_request_t;
  505.  
  506. /** Opcode for xcb_xv_get_still. */
  507. #define XCB_XV_GET_STILL 8
  508.  
  509. /**
  510.  * @brief xcb_xv_get_still_request_t
  511.  **/
  512. typedef struct xcb_xv_get_still_request_t {
  513.     uint8_t        major_opcode; /**<  */
  514.     uint8_t        minor_opcode; /**<  */
  515.     uint16_t       length; /**<  */
  516.     xcb_xv_port_t  port; /**<  */
  517.     xcb_drawable_t drawable; /**<  */
  518.     xcb_gcontext_t gc; /**<  */
  519.     int16_t        vid_x; /**<  */
  520.     int16_t        vid_y; /**<  */
  521.     uint16_t       vid_w; /**<  */
  522.     uint16_t       vid_h; /**<  */
  523.     int16_t        drw_x; /**<  */
  524.     int16_t        drw_y; /**<  */
  525.     uint16_t       drw_w; /**<  */
  526.     uint16_t       drw_h; /**<  */
  527. } xcb_xv_get_still_request_t;
  528.  
  529. /** Opcode for xcb_xv_stop_video. */
  530. #define XCB_XV_STOP_VIDEO 9
  531.  
  532. /**
  533.  * @brief xcb_xv_stop_video_request_t
  534.  **/
  535. typedef struct xcb_xv_stop_video_request_t {
  536.     uint8_t        major_opcode; /**<  */
  537.     uint8_t        minor_opcode; /**<  */
  538.     uint16_t       length; /**<  */
  539.     xcb_xv_port_t  port; /**<  */
  540.     xcb_drawable_t drawable; /**<  */
  541. } xcb_xv_stop_video_request_t;
  542.  
  543. /** Opcode for xcb_xv_select_video_notify. */
  544. #define XCB_XV_SELECT_VIDEO_NOTIFY 10
  545.  
  546. /**
  547.  * @brief xcb_xv_select_video_notify_request_t
  548.  **/
  549. typedef struct xcb_xv_select_video_notify_request_t {
  550.     uint8_t        major_opcode; /**<  */
  551.     uint8_t        minor_opcode; /**<  */
  552.     uint16_t       length; /**<  */
  553.     xcb_drawable_t drawable; /**<  */
  554.     uint8_t        onoff; /**<  */
  555. } xcb_xv_select_video_notify_request_t;
  556.  
  557. /** Opcode for xcb_xv_select_port_notify. */
  558. #define XCB_XV_SELECT_PORT_NOTIFY 11
  559.  
  560. /**
  561.  * @brief xcb_xv_select_port_notify_request_t
  562.  **/
  563. typedef struct xcb_xv_select_port_notify_request_t {
  564.     uint8_t        major_opcode; /**<  */
  565.     uint8_t        minor_opcode; /**<  */
  566.     uint16_t       length; /**<  */
  567.     xcb_drawable_t drawable; /**<  */
  568.     uint8_t        onoff; /**<  */
  569. } xcb_xv_select_port_notify_request_t;
  570.  
  571. /**
  572.  * @brief xcb_xv_query_best_size_cookie_t
  573.  **/
  574. typedef struct xcb_xv_query_best_size_cookie_t {
  575.     unsigned int sequence; /**<  */
  576. } xcb_xv_query_best_size_cookie_t;
  577.  
  578. /** Opcode for xcb_xv_query_best_size. */
  579. #define XCB_XV_QUERY_BEST_SIZE 12
  580.  
  581. /**
  582.  * @brief xcb_xv_query_best_size_request_t
  583.  **/
  584. typedef struct xcb_xv_query_best_size_request_t {
  585.     uint8_t       major_opcode; /**<  */
  586.     uint8_t       minor_opcode; /**<  */
  587.     uint16_t      length; /**<  */
  588.     xcb_xv_port_t port; /**<  */
  589.     uint16_t      vid_w; /**<  */
  590.     uint16_t      vid_h; /**<  */
  591.     uint16_t      drw_w; /**<  */
  592.     uint16_t      drw_h; /**<  */
  593.     uint8_t       motion; /**<  */
  594. } xcb_xv_query_best_size_request_t;
  595.  
  596. /**
  597.  * @brief xcb_xv_query_best_size_reply_t
  598.  **/
  599. typedef struct xcb_xv_query_best_size_reply_t {
  600.     uint8_t  response_type; /**<  */
  601.     uint8_t  pad0; /**<  */
  602.     uint16_t sequence; /**<  */
  603.     uint32_t length; /**<  */
  604.     uint16_t actual_width; /**<  */
  605.     uint16_t actual_height; /**<  */
  606. } xcb_xv_query_best_size_reply_t;
  607.  
  608. /** Opcode for xcb_xv_set_port_attribute. */
  609. #define XCB_XV_SET_PORT_ATTRIBUTE 13
  610.  
  611. /**
  612.  * @brief xcb_xv_set_port_attribute_request_t
  613.  **/
  614. typedef struct xcb_xv_set_port_attribute_request_t {
  615.     uint8_t       major_opcode; /**<  */
  616.     uint8_t       minor_opcode; /**<  */
  617.     uint16_t      length; /**<  */
  618.     xcb_xv_port_t port; /**<  */
  619.     xcb_atom_t    attribute; /**<  */
  620.     int32_t       value; /**<  */
  621. } xcb_xv_set_port_attribute_request_t;
  622.  
  623. /**
  624.  * @brief xcb_xv_get_port_attribute_cookie_t
  625.  **/
  626. typedef struct xcb_xv_get_port_attribute_cookie_t {
  627.     unsigned int sequence; /**<  */
  628. } xcb_xv_get_port_attribute_cookie_t;
  629.  
  630. /** Opcode for xcb_xv_get_port_attribute. */
  631. #define XCB_XV_GET_PORT_ATTRIBUTE 14
  632.  
  633. /**
  634.  * @brief xcb_xv_get_port_attribute_request_t
  635.  **/
  636. typedef struct xcb_xv_get_port_attribute_request_t {
  637.     uint8_t       major_opcode; /**<  */
  638.     uint8_t       minor_opcode; /**<  */
  639.     uint16_t      length; /**<  */
  640.     xcb_xv_port_t port; /**<  */
  641.     xcb_atom_t    attribute; /**<  */
  642. } xcb_xv_get_port_attribute_request_t;
  643.  
  644. /**
  645.  * @brief xcb_xv_get_port_attribute_reply_t
  646.  **/
  647. typedef struct xcb_xv_get_port_attribute_reply_t {
  648.     uint8_t  response_type; /**<  */
  649.     uint8_t  pad0; /**<  */
  650.     uint16_t sequence; /**<  */
  651.     uint32_t length; /**<  */
  652.     int32_t  value; /**<  */
  653. } xcb_xv_get_port_attribute_reply_t;
  654.  
  655. /**
  656.  * @brief xcb_xv_query_port_attributes_cookie_t
  657.  **/
  658. typedef struct xcb_xv_query_port_attributes_cookie_t {
  659.     unsigned int sequence; /**<  */
  660. } xcb_xv_query_port_attributes_cookie_t;
  661.  
  662. /** Opcode for xcb_xv_query_port_attributes. */
  663. #define XCB_XV_QUERY_PORT_ATTRIBUTES 15
  664.  
  665. /**
  666.  * @brief xcb_xv_query_port_attributes_request_t
  667.  **/
  668. typedef struct xcb_xv_query_port_attributes_request_t {
  669.     uint8_t       major_opcode; /**<  */
  670.     uint8_t       minor_opcode; /**<  */
  671.     uint16_t      length; /**<  */
  672.     xcb_xv_port_t port; /**<  */
  673. } xcb_xv_query_port_attributes_request_t;
  674.  
  675. /**
  676.  * @brief xcb_xv_query_port_attributes_reply_t
  677.  **/
  678. typedef struct xcb_xv_query_port_attributes_reply_t {
  679.     uint8_t  response_type; /**<  */
  680.     uint8_t  pad0; /**<  */
  681.     uint16_t sequence; /**<  */
  682.     uint32_t length; /**<  */
  683.     uint32_t num_attributes; /**<  */
  684.     uint32_t text_size; /**<  */
  685.     uint8_t  pad1[16]; /**<  */
  686. } xcb_xv_query_port_attributes_reply_t;
  687.  
  688. /**
  689.  * @brief xcb_xv_list_image_formats_cookie_t
  690.  **/
  691. typedef struct xcb_xv_list_image_formats_cookie_t {
  692.     unsigned int sequence; /**<  */
  693. } xcb_xv_list_image_formats_cookie_t;
  694.  
  695. /** Opcode for xcb_xv_list_image_formats. */
  696. #define XCB_XV_LIST_IMAGE_FORMATS 16
  697.  
  698. /**
  699.  * @brief xcb_xv_list_image_formats_request_t
  700.  **/
  701. typedef struct xcb_xv_list_image_formats_request_t {
  702.     uint8_t       major_opcode; /**<  */
  703.     uint8_t       minor_opcode; /**<  */
  704.     uint16_t      length; /**<  */
  705.     xcb_xv_port_t port; /**<  */
  706. } xcb_xv_list_image_formats_request_t;
  707.  
  708. /**
  709.  * @brief xcb_xv_list_image_formats_reply_t
  710.  **/
  711. typedef struct xcb_xv_list_image_formats_reply_t {
  712.     uint8_t  response_type; /**<  */
  713.     uint8_t  pad0; /**<  */
  714.     uint16_t sequence; /**<  */
  715.     uint32_t length; /**<  */
  716.     uint32_t num_formats; /**<  */
  717.     uint8_t  pad1[20]; /**<  */
  718. } xcb_xv_list_image_formats_reply_t;
  719.  
  720. /**
  721.  * @brief xcb_xv_query_image_attributes_cookie_t
  722.  **/
  723. typedef struct xcb_xv_query_image_attributes_cookie_t {
  724.     unsigned int sequence; /**<  */
  725. } xcb_xv_query_image_attributes_cookie_t;
  726.  
  727. /** Opcode for xcb_xv_query_image_attributes. */
  728. #define XCB_XV_QUERY_IMAGE_ATTRIBUTES 17
  729.  
  730. /**
  731.  * @brief xcb_xv_query_image_attributes_request_t
  732.  **/
  733. typedef struct xcb_xv_query_image_attributes_request_t {
  734.     uint8_t       major_opcode; /**<  */
  735.     uint8_t       minor_opcode; /**<  */
  736.     uint16_t      length; /**<  */
  737.     xcb_xv_port_t port; /**<  */
  738.     uint32_t      id; /**<  */
  739.     uint16_t      width; /**<  */
  740.     uint16_t      height; /**<  */
  741. } xcb_xv_query_image_attributes_request_t;
  742.  
  743. /**
  744.  * @brief xcb_xv_query_image_attributes_reply_t
  745.  **/
  746. typedef struct xcb_xv_query_image_attributes_reply_t {
  747.     uint8_t  response_type; /**<  */
  748.     uint8_t  pad0; /**<  */
  749.     uint16_t sequence; /**<  */
  750.     uint32_t length; /**<  */
  751.     uint32_t num_planes; /**<  */
  752.     uint32_t data_size; /**<  */
  753.     uint16_t width; /**<  */
  754.     uint16_t height; /**<  */
  755.     uint8_t  pad1[12]; /**<  */
  756. } xcb_xv_query_image_attributes_reply_t;
  757.  
  758. /** Opcode for xcb_xv_put_image. */
  759. #define XCB_XV_PUT_IMAGE 18
  760.  
  761. /**
  762.  * @brief xcb_xv_put_image_request_t
  763.  **/
  764. typedef struct xcb_xv_put_image_request_t {
  765.     uint8_t        major_opcode; /**<  */
  766.     uint8_t        minor_opcode; /**<  */
  767.     uint16_t       length; /**<  */
  768.     xcb_xv_port_t  port; /**<  */
  769.     xcb_drawable_t drawable; /**<  */
  770.     xcb_gcontext_t gc; /**<  */
  771.     uint32_t       id; /**<  */
  772.     int16_t        src_x; /**<  */
  773.     int16_t        src_y; /**<  */
  774.     uint16_t       src_w; /**<  */
  775.     uint16_t       src_h; /**<  */
  776.     int16_t        drw_x; /**<  */
  777.     int16_t        drw_y; /**<  */
  778.     uint16_t       drw_w; /**<  */
  779.     uint16_t       drw_h; /**<  */
  780.     uint16_t       width; /**<  */
  781.     uint16_t       height; /**<  */
  782. } xcb_xv_put_image_request_t;
  783.  
  784. /** Opcode for xcb_xv_shm_put_image. */
  785. #define XCB_XV_SHM_PUT_IMAGE 19
  786.  
  787. /**
  788.  * @brief xcb_xv_shm_put_image_request_t
  789.  **/
  790. typedef struct xcb_xv_shm_put_image_request_t {
  791.     uint8_t        major_opcode; /**<  */
  792.     uint8_t        minor_opcode; /**<  */
  793.     uint16_t       length; /**<  */
  794.     xcb_xv_port_t  port; /**<  */
  795.     xcb_drawable_t drawable; /**<  */
  796.     xcb_gcontext_t gc; /**<  */
  797.     xcb_shm_seg_t  shmseg; /**<  */
  798.     uint32_t       id; /**<  */
  799.     uint32_t       offset; /**<  */
  800.     int16_t        src_x; /**<  */
  801.     int16_t        src_y; /**<  */
  802.     uint16_t       src_w; /**<  */
  803.     uint16_t       src_h; /**<  */
  804.     int16_t        drw_x; /**<  */
  805.     int16_t        drw_y; /**<  */
  806.     uint16_t       drw_w; /**<  */
  807.     uint16_t       drw_h; /**<  */
  808.     uint16_t       width; /**<  */
  809.     uint16_t       height; /**<  */
  810.     uint8_t        send_event; /**<  */
  811. } xcb_xv_shm_put_image_request_t;
  812.  
  813. /**
  814.  * Get the next element of the iterator
  815.  * @param i Pointer to a xcb_xv_port_iterator_t
  816.  *
  817.  * Get the next element in the iterator. The member rem is
  818.  * decreased by one. The member data points to the next
  819.  * element. The member index is increased by sizeof(xcb_xv_port_t)
  820.  */
  821.  
  822. /*****************************************************************************
  823.  **
  824.  ** void xcb_xv_port_next
  825.  ** 
  826.  ** @param xcb_xv_port_iterator_t *i
  827.  ** @returns void
  828.  **
  829.  *****************************************************************************/
  830.  
  831. void
  832. xcb_xv_port_next (xcb_xv_port_iterator_t *i  /**< */);
  833.  
  834. /**
  835.  * Return the iterator pointing to the last element
  836.  * @param i An xcb_xv_port_iterator_t
  837.  * @return  The iterator pointing to the last element
  838.  *
  839.  * Set the current element in the iterator to the last element.
  840.  * The member rem is set to 0. The member data points to the
  841.  * last element.
  842.  */
  843.  
  844. /*****************************************************************************
  845.  **
  846.  ** xcb_generic_iterator_t xcb_xv_port_end
  847.  ** 
  848.  ** @param xcb_xv_port_iterator_t i
  849.  ** @returns xcb_generic_iterator_t
  850.  **
  851.  *****************************************************************************/
  852.  
  853. xcb_generic_iterator_t
  854. xcb_xv_port_end (xcb_xv_port_iterator_t i  /**< */);
  855.  
  856. /**
  857.  * Get the next element of the iterator
  858.  * @param i Pointer to a xcb_xv_encoding_iterator_t
  859.  *
  860.  * Get the next element in the iterator. The member rem is
  861.  * decreased by one. The member data points to the next
  862.  * element. The member index is increased by sizeof(xcb_xv_encoding_t)
  863.  */
  864.  
  865. /*****************************************************************************
  866.  **
  867.  ** void xcb_xv_encoding_next
  868.  ** 
  869.  ** @param xcb_xv_encoding_iterator_t *i
  870.  ** @returns void
  871.  **
  872.  *****************************************************************************/
  873.  
  874. void
  875. xcb_xv_encoding_next (xcb_xv_encoding_iterator_t *i  /**< */);
  876.  
  877. /**
  878.  * Return the iterator pointing to the last element
  879.  * @param i An xcb_xv_encoding_iterator_t
  880.  * @return  The iterator pointing to the last element
  881.  *
  882.  * Set the current element in the iterator to the last element.
  883.  * The member rem is set to 0. The member data points to the
  884.  * last element.
  885.  */
  886.  
  887. /*****************************************************************************
  888.  **
  889.  ** xcb_generic_iterator_t xcb_xv_encoding_end
  890.  ** 
  891.  ** @param xcb_xv_encoding_iterator_t i
  892.  ** @returns xcb_generic_iterator_t
  893.  **
  894.  *****************************************************************************/
  895.  
  896. xcb_generic_iterator_t
  897. xcb_xv_encoding_end (xcb_xv_encoding_iterator_t i  /**< */);
  898.  
  899. /**
  900.  * Get the next element of the iterator
  901.  * @param i Pointer to a xcb_xv_rational_iterator_t
  902.  *
  903.  * Get the next element in the iterator. The member rem is
  904.  * decreased by one. The member data points to the next
  905.  * element. The member index is increased by sizeof(xcb_xv_rational_t)
  906.  */
  907.  
  908. /*****************************************************************************
  909.  **
  910.  ** void xcb_xv_rational_next
  911.  ** 
  912.  ** @param xcb_xv_rational_iterator_t *i
  913.  ** @returns void
  914.  **
  915.  *****************************************************************************/
  916.  
  917. void
  918. xcb_xv_rational_next (xcb_xv_rational_iterator_t *i  /**< */);
  919.  
  920. /**
  921.  * Return the iterator pointing to the last element
  922.  * @param i An xcb_xv_rational_iterator_t
  923.  * @return  The iterator pointing to the last element
  924.  *
  925.  * Set the current element in the iterator to the last element.
  926.  * The member rem is set to 0. The member data points to the
  927.  * last element.
  928.  */
  929.  
  930. /*****************************************************************************
  931.  **
  932.  ** xcb_generic_iterator_t xcb_xv_rational_end
  933.  ** 
  934.  ** @param xcb_xv_rational_iterator_t i
  935.  ** @returns xcb_generic_iterator_t
  936.  **
  937.  *****************************************************************************/
  938.  
  939. xcb_generic_iterator_t
  940. xcb_xv_rational_end (xcb_xv_rational_iterator_t i  /**< */);
  941.  
  942.  
  943. /*****************************************************************************
  944.  **
  945.  ** char * xcb_xv_adaptor_info_name
  946.  ** 
  947.  ** @param const xcb_xv_adaptor_info_t *R
  948.  ** @returns char *
  949.  **
  950.  *****************************************************************************/
  951.  
  952. char *
  953. xcb_xv_adaptor_info_name (const xcb_xv_adaptor_info_t *R  /**< */);
  954.  
  955.  
  956. /*****************************************************************************
  957.  **
  958.  ** int xcb_xv_adaptor_info_name_length
  959.  ** 
  960.  ** @param const xcb_xv_adaptor_info_t *R
  961.  ** @returns int
  962.  **
  963.  *****************************************************************************/
  964.  
  965. int
  966. xcb_xv_adaptor_info_name_length (const xcb_xv_adaptor_info_t *R  /**< */);
  967.  
  968.  
  969. /*****************************************************************************
  970.  **
  971.  ** xcb_generic_iterator_t xcb_xv_adaptor_info_name_end
  972.  ** 
  973.  ** @param const xcb_xv_adaptor_info_t *R
  974.  ** @returns xcb_generic_iterator_t
  975.  **
  976.  *****************************************************************************/
  977.  
  978. xcb_generic_iterator_t
  979. xcb_xv_adaptor_info_name_end (const xcb_xv_adaptor_info_t *R  /**< */);
  980.  
  981.  
  982. /*****************************************************************************
  983.  **
  984.  ** xcb_xv_format_t * xcb_xv_adaptor_info_formats
  985.  ** 
  986.  ** @param const xcb_xv_adaptor_info_t *R
  987.  ** @returns xcb_xv_format_t *
  988.  **
  989.  *****************************************************************************/
  990.  
  991. xcb_xv_format_t *
  992. xcb_xv_adaptor_info_formats (const xcb_xv_adaptor_info_t *R  /**< */);
  993.  
  994.  
  995. /*****************************************************************************
  996.  **
  997.  ** int xcb_xv_adaptor_info_formats_length
  998.  ** 
  999.  ** @param const xcb_xv_adaptor_info_t *R
  1000.  ** @returns int
  1001.  **
  1002.  *****************************************************************************/
  1003.  
  1004. int
  1005. xcb_xv_adaptor_info_formats_length (const xcb_xv_adaptor_info_t *R  /**< */);
  1006.  
  1007.  
  1008. /*****************************************************************************
  1009.  **
  1010.  ** xcb_xv_format_iterator_t xcb_xv_adaptor_info_formats_iterator
  1011.  ** 
  1012.  ** @param const xcb_xv_adaptor_info_t *R
  1013.  ** @returns xcb_xv_format_iterator_t
  1014.  **
  1015.  *****************************************************************************/
  1016.  
  1017. xcb_xv_format_iterator_t
  1018. xcb_xv_adaptor_info_formats_iterator (const xcb_xv_adaptor_info_t *R  /**< */);
  1019.  
  1020. /**
  1021.  * Get the next element of the iterator
  1022.  * @param i Pointer to a xcb_xv_adaptor_info_iterator_t
  1023.  *
  1024.  * Get the next element in the iterator. The member rem is
  1025.  * decreased by one. The member data points to the next
  1026.  * element. The member index is increased by sizeof(xcb_xv_adaptor_info_t)
  1027.  */
  1028.  
  1029. /*****************************************************************************
  1030.  **
  1031.  ** void xcb_xv_adaptor_info_next
  1032.  ** 
  1033.  ** @param xcb_xv_adaptor_info_iterator_t *i
  1034.  ** @returns void
  1035.  **
  1036.  *****************************************************************************/
  1037.  
  1038. void
  1039. xcb_xv_adaptor_info_next (xcb_xv_adaptor_info_iterator_t *i  /**< */);
  1040.  
  1041. /**
  1042.  * Return the iterator pointing to the last element
  1043.  * @param i An xcb_xv_adaptor_info_iterator_t
  1044.  * @return  The iterator pointing to the last element
  1045.  *
  1046.  * Set the current element in the iterator to the last element.
  1047.  * The member rem is set to 0. The member data points to the
  1048.  * last element.
  1049.  */
  1050.  
  1051. /*****************************************************************************
  1052.  **
  1053.  ** xcb_generic_iterator_t xcb_xv_adaptor_info_end
  1054.  ** 
  1055.  ** @param xcb_xv_adaptor_info_iterator_t i
  1056.  ** @returns xcb_generic_iterator_t
  1057.  **
  1058.  *****************************************************************************/
  1059.  
  1060. xcb_generic_iterator_t
  1061. xcb_xv_adaptor_info_end (xcb_xv_adaptor_info_iterator_t i  /**< */);
  1062.  
  1063.  
  1064. /*****************************************************************************
  1065.  **
  1066.  ** char * xcb_xv_encoding_info_name
  1067.  ** 
  1068.  ** @param const xcb_xv_encoding_info_t *R
  1069.  ** @returns char *
  1070.  **
  1071.  *****************************************************************************/
  1072.  
  1073. char *
  1074. xcb_xv_encoding_info_name (const xcb_xv_encoding_info_t *R  /**< */);
  1075.  
  1076.  
  1077. /*****************************************************************************
  1078.  **
  1079.  ** int xcb_xv_encoding_info_name_length
  1080.  ** 
  1081.  ** @param const xcb_xv_encoding_info_t *R
  1082.  ** @returns int
  1083.  **
  1084.  *****************************************************************************/
  1085.  
  1086. int
  1087. xcb_xv_encoding_info_name_length (const xcb_xv_encoding_info_t *R  /**< */);
  1088.  
  1089.  
  1090. /*****************************************************************************
  1091.  **
  1092.  ** xcb_generic_iterator_t xcb_xv_encoding_info_name_end
  1093.  ** 
  1094.  ** @param const xcb_xv_encoding_info_t *R
  1095.  ** @returns xcb_generic_iterator_t
  1096.  **
  1097.  *****************************************************************************/
  1098.  
  1099. xcb_generic_iterator_t
  1100. xcb_xv_encoding_info_name_end (const xcb_xv_encoding_info_t *R  /**< */);
  1101.  
  1102. /**
  1103.  * Get the next element of the iterator
  1104.  * @param i Pointer to a xcb_xv_encoding_info_iterator_t
  1105.  *
  1106.  * Get the next element in the iterator. The member rem is
  1107.  * decreased by one. The member data points to the next
  1108.  * element. The member index is increased by sizeof(xcb_xv_encoding_info_t)
  1109.  */
  1110.  
  1111. /*****************************************************************************
  1112.  **
  1113.  ** void xcb_xv_encoding_info_next
  1114.  ** 
  1115.  ** @param xcb_xv_encoding_info_iterator_t *i
  1116.  ** @returns void
  1117.  **
  1118.  *****************************************************************************/
  1119.  
  1120. void
  1121. xcb_xv_encoding_info_next (xcb_xv_encoding_info_iterator_t *i  /**< */);
  1122.  
  1123. /**
  1124.  * Return the iterator pointing to the last element
  1125.  * @param i An xcb_xv_encoding_info_iterator_t
  1126.  * @return  The iterator pointing to the last element
  1127.  *
  1128.  * Set the current element in the iterator to the last element.
  1129.  * The member rem is set to 0. The member data points to the
  1130.  * last element.
  1131.  */
  1132.  
  1133. /*****************************************************************************
  1134.  **
  1135.  ** xcb_generic_iterator_t xcb_xv_encoding_info_end
  1136.  ** 
  1137.  ** @param xcb_xv_encoding_info_iterator_t i
  1138.  ** @returns xcb_generic_iterator_t
  1139.  **
  1140.  *****************************************************************************/
  1141.  
  1142. xcb_generic_iterator_t
  1143. xcb_xv_encoding_info_end (xcb_xv_encoding_info_iterator_t i  /**< */);
  1144.  
  1145. /**
  1146.  * Get the next element of the iterator
  1147.  * @param i Pointer to a xcb_xv_format_iterator_t
  1148.  *
  1149.  * Get the next element in the iterator. The member rem is
  1150.  * decreased by one. The member data points to the next
  1151.  * element. The member index is increased by sizeof(xcb_xv_format_t)
  1152.  */
  1153.  
  1154. /*****************************************************************************
  1155.  **
  1156.  ** void xcb_xv_format_next
  1157.  ** 
  1158.  ** @param xcb_xv_format_iterator_t *i
  1159.  ** @returns void
  1160.  **
  1161.  *****************************************************************************/
  1162.  
  1163. void
  1164. xcb_xv_format_next (xcb_xv_format_iterator_t *i  /**< */);
  1165.  
  1166. /**
  1167.  * Return the iterator pointing to the last element
  1168.  * @param i An xcb_xv_format_iterator_t
  1169.  * @return  The iterator pointing to the last element
  1170.  *
  1171.  * Set the current element in the iterator to the last element.
  1172.  * The member rem is set to 0. The member data points to the
  1173.  * last element.
  1174.  */
  1175.  
  1176. /*****************************************************************************
  1177.  **
  1178.  ** xcb_generic_iterator_t xcb_xv_format_end
  1179.  ** 
  1180.  ** @param xcb_xv_format_iterator_t i
  1181.  ** @returns xcb_generic_iterator_t
  1182.  **
  1183.  *****************************************************************************/
  1184.  
  1185. xcb_generic_iterator_t
  1186. xcb_xv_format_end (xcb_xv_format_iterator_t i  /**< */);
  1187.  
  1188.  
  1189. /*****************************************************************************
  1190.  **
  1191.  ** uint32_t * xcb_xv_image_pitches
  1192.  ** 
  1193.  ** @param const xcb_xv_image_t *R
  1194.  ** @returns uint32_t *
  1195.  **
  1196.  *****************************************************************************/
  1197.  
  1198. uint32_t *
  1199. xcb_xv_image_pitches (const xcb_xv_image_t *R  /**< */);
  1200.  
  1201.  
  1202. /*****************************************************************************
  1203.  **
  1204.  ** int xcb_xv_image_pitches_length
  1205.  ** 
  1206.  ** @param const xcb_xv_image_t *R
  1207.  ** @returns int
  1208.  **
  1209.  *****************************************************************************/
  1210.  
  1211. int
  1212. xcb_xv_image_pitches_length (const xcb_xv_image_t *R  /**< */);
  1213.  
  1214.  
  1215. /*****************************************************************************
  1216.  **
  1217.  ** xcb_generic_iterator_t xcb_xv_image_pitches_end
  1218.  ** 
  1219.  ** @param const xcb_xv_image_t *R
  1220.  ** @returns xcb_generic_iterator_t
  1221.  **
  1222.  *****************************************************************************/
  1223.  
  1224. xcb_generic_iterator_t
  1225. xcb_xv_image_pitches_end (const xcb_xv_image_t *R  /**< */);
  1226.  
  1227.  
  1228. /*****************************************************************************
  1229.  **
  1230.  ** uint32_t * xcb_xv_image_offsets
  1231.  ** 
  1232.  ** @param const xcb_xv_image_t *R
  1233.  ** @returns uint32_t *
  1234.  **
  1235.  *****************************************************************************/
  1236.  
  1237. uint32_t *
  1238. xcb_xv_image_offsets (const xcb_xv_image_t *R  /**< */);
  1239.  
  1240.  
  1241. /*****************************************************************************
  1242.  **
  1243.  ** int xcb_xv_image_offsets_length
  1244.  ** 
  1245.  ** @param const xcb_xv_image_t *R
  1246.  ** @returns int
  1247.  **
  1248.  *****************************************************************************/
  1249.  
  1250. int
  1251. xcb_xv_image_offsets_length (const xcb_xv_image_t *R  /**< */);
  1252.  
  1253.  
  1254. /*****************************************************************************
  1255.  **
  1256.  ** xcb_generic_iterator_t xcb_xv_image_offsets_end
  1257.  ** 
  1258.  ** @param const xcb_xv_image_t *R
  1259.  ** @returns xcb_generic_iterator_t
  1260.  **
  1261.  *****************************************************************************/
  1262.  
  1263. xcb_generic_iterator_t
  1264. xcb_xv_image_offsets_end (const xcb_xv_image_t *R  /**< */);
  1265.  
  1266.  
  1267. /*****************************************************************************
  1268.  **
  1269.  ** uint8_t * xcb_xv_image_data
  1270.  ** 
  1271.  ** @param const xcb_xv_image_t *R
  1272.  ** @returns uint8_t *
  1273.  **
  1274.  *****************************************************************************/
  1275.  
  1276. uint8_t *
  1277. xcb_xv_image_data (const xcb_xv_image_t *R  /**< */);
  1278.  
  1279.  
  1280. /*****************************************************************************
  1281.  **
  1282.  ** int xcb_xv_image_data_length
  1283.  ** 
  1284.  ** @param const xcb_xv_image_t *R
  1285.  ** @returns int
  1286.  **
  1287.  *****************************************************************************/
  1288.  
  1289. int
  1290. xcb_xv_image_data_length (const xcb_xv_image_t *R  /**< */);
  1291.  
  1292.  
  1293. /*****************************************************************************
  1294.  **
  1295.  ** xcb_generic_iterator_t xcb_xv_image_data_end
  1296.  ** 
  1297.  ** @param const xcb_xv_image_t *R
  1298.  ** @returns xcb_generic_iterator_t
  1299.  **
  1300.  *****************************************************************************/
  1301.  
  1302. xcb_generic_iterator_t
  1303. xcb_xv_image_data_end (const xcb_xv_image_t *R  /**< */);
  1304.  
  1305. /**
  1306.  * Get the next element of the iterator
  1307.  * @param i Pointer to a xcb_xv_image_iterator_t
  1308.  *
  1309.  * Get the next element in the iterator. The member rem is
  1310.  * decreased by one. The member data points to the next
  1311.  * element. The member index is increased by sizeof(xcb_xv_image_t)
  1312.  */
  1313.  
  1314. /*****************************************************************************
  1315.  **
  1316.  ** void xcb_xv_image_next
  1317.  ** 
  1318.  ** @param xcb_xv_image_iterator_t *i
  1319.  ** @returns void
  1320.  **
  1321.  *****************************************************************************/
  1322.  
  1323. void
  1324. xcb_xv_image_next (xcb_xv_image_iterator_t *i  /**< */);
  1325.  
  1326. /**
  1327.  * Return the iterator pointing to the last element
  1328.  * @param i An xcb_xv_image_iterator_t
  1329.  * @return  The iterator pointing to the last element
  1330.  *
  1331.  * Set the current element in the iterator to the last element.
  1332.  * The member rem is set to 0. The member data points to the
  1333.  * last element.
  1334.  */
  1335.  
  1336. /*****************************************************************************
  1337.  **
  1338.  ** xcb_generic_iterator_t xcb_xv_image_end
  1339.  ** 
  1340.  ** @param xcb_xv_image_iterator_t i
  1341.  ** @returns xcb_generic_iterator_t
  1342.  **
  1343.  *****************************************************************************/
  1344.  
  1345. xcb_generic_iterator_t
  1346. xcb_xv_image_end (xcb_xv_image_iterator_t i  /**< */);
  1347.  
  1348.  
  1349. /*****************************************************************************
  1350.  **
  1351.  ** char * xcb_xv_attribute_info_name
  1352.  ** 
  1353.  ** @param const xcb_xv_attribute_info_t *R
  1354.  ** @returns char *
  1355.  **
  1356.  *****************************************************************************/
  1357.  
  1358. char *
  1359. xcb_xv_attribute_info_name (const xcb_xv_attribute_info_t *R  /**< */);
  1360.  
  1361.  
  1362. /*****************************************************************************
  1363.  **
  1364.  ** int xcb_xv_attribute_info_name_length
  1365.  ** 
  1366.  ** @param const xcb_xv_attribute_info_t *R
  1367.  ** @returns int
  1368.  **
  1369.  *****************************************************************************/
  1370.  
  1371. int
  1372. xcb_xv_attribute_info_name_length (const xcb_xv_attribute_info_t *R  /**< */);
  1373.  
  1374.  
  1375. /*****************************************************************************
  1376.  **
  1377.  ** xcb_generic_iterator_t xcb_xv_attribute_info_name_end
  1378.  ** 
  1379.  ** @param const xcb_xv_attribute_info_t *R
  1380.  ** @returns xcb_generic_iterator_t
  1381.  **
  1382.  *****************************************************************************/
  1383.  
  1384. xcb_generic_iterator_t
  1385. xcb_xv_attribute_info_name_end (const xcb_xv_attribute_info_t *R  /**< */);
  1386.  
  1387. /**
  1388.  * Get the next element of the iterator
  1389.  * @param i Pointer to a xcb_xv_attribute_info_iterator_t
  1390.  *
  1391.  * Get the next element in the iterator. The member rem is
  1392.  * decreased by one. The member data points to the next
  1393.  * element. The member index is increased by sizeof(xcb_xv_attribute_info_t)
  1394.  */
  1395.  
  1396. /*****************************************************************************
  1397.  **
  1398.  ** void xcb_xv_attribute_info_next
  1399.  ** 
  1400.  ** @param xcb_xv_attribute_info_iterator_t *i
  1401.  ** @returns void
  1402.  **
  1403.  *****************************************************************************/
  1404.  
  1405. void
  1406. xcb_xv_attribute_info_next (xcb_xv_attribute_info_iterator_t *i  /**< */);
  1407.  
  1408. /**
  1409.  * Return the iterator pointing to the last element
  1410.  * @param i An xcb_xv_attribute_info_iterator_t
  1411.  * @return  The iterator pointing to the last element
  1412.  *
  1413.  * Set the current element in the iterator to the last element.
  1414.  * The member rem is set to 0. The member data points to the
  1415.  * last element.
  1416.  */
  1417.  
  1418. /*****************************************************************************
  1419.  **
  1420.  ** xcb_generic_iterator_t xcb_xv_attribute_info_end
  1421.  ** 
  1422.  ** @param xcb_xv_attribute_info_iterator_t i
  1423.  ** @returns xcb_generic_iterator_t
  1424.  **
  1425.  *****************************************************************************/
  1426.  
  1427. xcb_generic_iterator_t
  1428. xcb_xv_attribute_info_end (xcb_xv_attribute_info_iterator_t i  /**< */);
  1429.  
  1430. /**
  1431.  * Get the next element of the iterator
  1432.  * @param i Pointer to a xcb_xv_image_format_info_iterator_t
  1433.  *
  1434.  * Get the next element in the iterator. The member rem is
  1435.  * decreased by one. The member data points to the next
  1436.  * element. The member index is increased by sizeof(xcb_xv_image_format_info_t)
  1437.  */
  1438.  
  1439. /*****************************************************************************
  1440.  **
  1441.  ** void xcb_xv_image_format_info_next
  1442.  ** 
  1443.  ** @param xcb_xv_image_format_info_iterator_t *i
  1444.  ** @returns void
  1445.  **
  1446.  *****************************************************************************/
  1447.  
  1448. void
  1449. xcb_xv_image_format_info_next (xcb_xv_image_format_info_iterator_t *i  /**< */);
  1450.  
  1451. /**
  1452.  * Return the iterator pointing to the last element
  1453.  * @param i An xcb_xv_image_format_info_iterator_t
  1454.  * @return  The iterator pointing to the last element
  1455.  *
  1456.  * Set the current element in the iterator to the last element.
  1457.  * The member rem is set to 0. The member data points to the
  1458.  * last element.
  1459.  */
  1460.  
  1461. /*****************************************************************************
  1462.  **
  1463.  ** xcb_generic_iterator_t xcb_xv_image_format_info_end
  1464.  ** 
  1465.  ** @param xcb_xv_image_format_info_iterator_t i
  1466.  ** @returns xcb_generic_iterator_t
  1467.  **
  1468.  *****************************************************************************/
  1469.  
  1470. xcb_generic_iterator_t
  1471. xcb_xv_image_format_info_end (xcb_xv_image_format_info_iterator_t i  /**< */);
  1472.  
  1473. /**
  1474.  * Delivers a request to the X server
  1475.  * @param c The connection
  1476.  * @return A cookie
  1477.  *
  1478.  * Delivers a request to the X server.
  1479.  * 
  1480.  */
  1481.  
  1482. /*****************************************************************************
  1483.  **
  1484.  ** xcb_xv_query_extension_cookie_t xcb_xv_query_extension
  1485.  ** 
  1486.  ** @param xcb_connection_t *c
  1487.  ** @returns xcb_xv_query_extension_cookie_t
  1488.  **
  1489.  *****************************************************************************/
  1490.  
  1491. xcb_xv_query_extension_cookie_t
  1492. xcb_xv_query_extension (xcb_connection_t *c  /**< */);
  1493.  
  1494. /**
  1495.  * Delivers a request to the X server
  1496.  * @param c The connection
  1497.  * @return A cookie
  1498.  *
  1499.  * Delivers a request to the X server.
  1500.  * 
  1501.  * This form can be used only if the request will cause
  1502.  * a reply to be generated. Any returned error will be
  1503.  * placed in the event queue.
  1504.  */
  1505.  
  1506. /*****************************************************************************
  1507.  **
  1508.  ** xcb_xv_query_extension_cookie_t xcb_xv_query_extension_unchecked
  1509.  ** 
  1510.  ** @param xcb_connection_t *c
  1511.  ** @returns xcb_xv_query_extension_cookie_t
  1512.  **
  1513.  *****************************************************************************/
  1514.  
  1515. xcb_xv_query_extension_cookie_t
  1516. xcb_xv_query_extension_unchecked (xcb_connection_t *c  /**< */);
  1517.  
  1518. /**
  1519.  * Return the reply
  1520.  * @param c      The connection
  1521.  * @param cookie The cookie
  1522.  * @param e      The xcb_generic_error_t supplied
  1523.  *
  1524.  * Returns the reply of the request asked by
  1525.  * 
  1526.  * The parameter @p e supplied to this function must be NULL if
  1527.  * xcb_xv_query_extension_unchecked(). is used.
  1528.  * Otherwise, it stores the error if any.
  1529.  */
  1530.  
  1531. /*****************************************************************************
  1532.  **
  1533.  ** xcb_xv_query_extension_reply_t * xcb_xv_query_extension_reply
  1534.  ** 
  1535.  ** @param xcb_connection_t                 *c
  1536.  ** @param xcb_xv_query_extension_cookie_t   cookie
  1537.  ** @param xcb_generic_error_t             **e
  1538.  ** @returns xcb_xv_query_extension_reply_t *
  1539.  **
  1540.  *****************************************************************************/
  1541.  
  1542. xcb_xv_query_extension_reply_t *
  1543. xcb_xv_query_extension_reply (xcb_connection_t                 *c  /**< */,
  1544.                               xcb_xv_query_extension_cookie_t   cookie  /**< */,
  1545.                               xcb_generic_error_t             **e  /**< */);
  1546.  
  1547. /**
  1548.  * Delivers a request to the X server
  1549.  * @param c The connection
  1550.  * @return A cookie
  1551.  *
  1552.  * Delivers a request to the X server.
  1553.  * 
  1554.  */
  1555.  
  1556. /*****************************************************************************
  1557.  **
  1558.  ** xcb_xv_query_adaptors_cookie_t xcb_xv_query_adaptors
  1559.  ** 
  1560.  ** @param xcb_connection_t *c
  1561.  ** @param xcb_window_t      window
  1562.  ** @returns xcb_xv_query_adaptors_cookie_t
  1563.  **
  1564.  *****************************************************************************/
  1565.  
  1566. xcb_xv_query_adaptors_cookie_t
  1567. xcb_xv_query_adaptors (xcb_connection_t *c  /**< */,
  1568.                        xcb_window_t      window  /**< */);
  1569.  
  1570. /**
  1571.  * Delivers a request to the X server
  1572.  * @param c The connection
  1573.  * @return A cookie
  1574.  *
  1575.  * Delivers a request to the X server.
  1576.  * 
  1577.  * This form can be used only if the request will cause
  1578.  * a reply to be generated. Any returned error will be
  1579.  * placed in the event queue.
  1580.  */
  1581.  
  1582. /*****************************************************************************
  1583.  **
  1584.  ** xcb_xv_query_adaptors_cookie_t xcb_xv_query_adaptors_unchecked
  1585.  ** 
  1586.  ** @param xcb_connection_t *c
  1587.  ** @param xcb_window_t      window
  1588.  ** @returns xcb_xv_query_adaptors_cookie_t
  1589.  **
  1590.  *****************************************************************************/
  1591.  
  1592. xcb_xv_query_adaptors_cookie_t
  1593. xcb_xv_query_adaptors_unchecked (xcb_connection_t *c  /**< */,
  1594.                                  xcb_window_t      window  /**< */);
  1595.  
  1596.  
  1597. /*****************************************************************************
  1598.  **
  1599.  ** int xcb_xv_query_adaptors_info_length
  1600.  ** 
  1601.  ** @param const xcb_xv_query_adaptors_reply_t *R
  1602.  ** @returns int
  1603.  **
  1604.  *****************************************************************************/
  1605.  
  1606. int
  1607. xcb_xv_query_adaptors_info_length (const xcb_xv_query_adaptors_reply_t *R  /**< */);
  1608.  
  1609.  
  1610. /*****************************************************************************
  1611.  **
  1612.  ** xcb_xv_adaptor_info_iterator_t xcb_xv_query_adaptors_info_iterator
  1613.  ** 
  1614.  ** @param const xcb_xv_query_adaptors_reply_t *R
  1615.  ** @returns xcb_xv_adaptor_info_iterator_t
  1616.  **
  1617.  *****************************************************************************/
  1618.  
  1619. xcb_xv_adaptor_info_iterator_t
  1620. xcb_xv_query_adaptors_info_iterator (const xcb_xv_query_adaptors_reply_t *R  /**< */);
  1621.  
  1622. /**
  1623.  * Return the reply
  1624.  * @param c      The connection
  1625.  * @param cookie The cookie
  1626.  * @param e      The xcb_generic_error_t supplied
  1627.  *
  1628.  * Returns the reply of the request asked by
  1629.  * 
  1630.  * The parameter @p e supplied to this function must be NULL if
  1631.  * xcb_xv_query_adaptors_unchecked(). is used.
  1632.  * Otherwise, it stores the error if any.
  1633.  */
  1634.  
  1635. /*****************************************************************************
  1636.  **
  1637.  ** xcb_xv_query_adaptors_reply_t * xcb_xv_query_adaptors_reply
  1638.  ** 
  1639.  ** @param xcb_connection_t                *c
  1640.  ** @param xcb_xv_query_adaptors_cookie_t   cookie
  1641.  ** @param xcb_generic_error_t            **e
  1642.  ** @returns xcb_xv_query_adaptors_reply_t *
  1643.  **
  1644.  *****************************************************************************/
  1645.  
  1646. xcb_xv_query_adaptors_reply_t *
  1647. xcb_xv_query_adaptors_reply (xcb_connection_t                *c  /**< */,
  1648.                              xcb_xv_query_adaptors_cookie_t   cookie  /**< */,
  1649.                              xcb_generic_error_t            **e  /**< */);
  1650.  
  1651. /**
  1652.  * Delivers a request to the X server
  1653.  * @param c The connection
  1654.  * @return A cookie
  1655.  *
  1656.  * Delivers a request to the X server.
  1657.  * 
  1658.  */
  1659.  
  1660. /*****************************************************************************
  1661.  **
  1662.  ** xcb_xv_query_encodings_cookie_t xcb_xv_query_encodings
  1663.  ** 
  1664.  ** @param xcb_connection_t *c
  1665.  ** @param xcb_xv_port_t     port
  1666.  ** @returns xcb_xv_query_encodings_cookie_t
  1667.  **
  1668.  *****************************************************************************/
  1669.  
  1670. xcb_xv_query_encodings_cookie_t
  1671. xcb_xv_query_encodings (xcb_connection_t *c  /**< */,
  1672.                         xcb_xv_port_t     port  /**< */);
  1673.  
  1674. /**
  1675.  * Delivers a request to the X server
  1676.  * @param c The connection
  1677.  * @return A cookie
  1678.  *
  1679.  * Delivers a request to the X server.
  1680.  * 
  1681.  * This form can be used only if the request will cause
  1682.  * a reply to be generated. Any returned error will be
  1683.  * placed in the event queue.
  1684.  */
  1685.  
  1686. /*****************************************************************************
  1687.  **
  1688.  ** xcb_xv_query_encodings_cookie_t xcb_xv_query_encodings_unchecked
  1689.  ** 
  1690.  ** @param xcb_connection_t *c
  1691.  ** @param xcb_xv_port_t     port
  1692.  ** @returns xcb_xv_query_encodings_cookie_t
  1693.  **
  1694.  *****************************************************************************/
  1695.  
  1696. xcb_xv_query_encodings_cookie_t
  1697. xcb_xv_query_encodings_unchecked (xcb_connection_t *c  /**< */,
  1698.                                   xcb_xv_port_t     port  /**< */);
  1699.  
  1700.  
  1701. /*****************************************************************************
  1702.  **
  1703.  ** int xcb_xv_query_encodings_info_length
  1704.  ** 
  1705.  ** @param const xcb_xv_query_encodings_reply_t *R
  1706.  ** @returns int
  1707.  **
  1708.  *****************************************************************************/
  1709.  
  1710. int
  1711. xcb_xv_query_encodings_info_length (const xcb_xv_query_encodings_reply_t *R  /**< */);
  1712.  
  1713.  
  1714. /*****************************************************************************
  1715.  **
  1716.  ** xcb_xv_encoding_info_iterator_t xcb_xv_query_encodings_info_iterator
  1717.  ** 
  1718.  ** @param const xcb_xv_query_encodings_reply_t *R
  1719.  ** @returns xcb_xv_encoding_info_iterator_t
  1720.  **
  1721.  *****************************************************************************/
  1722.  
  1723. xcb_xv_encoding_info_iterator_t
  1724. xcb_xv_query_encodings_info_iterator (const xcb_xv_query_encodings_reply_t *R  /**< */);
  1725.  
  1726. /**
  1727.  * Return the reply
  1728.  * @param c      The connection
  1729.  * @param cookie The cookie
  1730.  * @param e      The xcb_generic_error_t supplied
  1731.  *
  1732.  * Returns the reply of the request asked by
  1733.  * 
  1734.  * The parameter @p e supplied to this function must be NULL if
  1735.  * xcb_xv_query_encodings_unchecked(). is used.
  1736.  * Otherwise, it stores the error if any.
  1737.  */
  1738.  
  1739. /*****************************************************************************
  1740.  **
  1741.  ** xcb_xv_query_encodings_reply_t * xcb_xv_query_encodings_reply
  1742.  ** 
  1743.  ** @param xcb_connection_t                 *c
  1744.  ** @param xcb_xv_query_encodings_cookie_t   cookie
  1745.  ** @param xcb_generic_error_t             **e
  1746.  ** @returns xcb_xv_query_encodings_reply_t *
  1747.  **
  1748.  *****************************************************************************/
  1749.  
  1750. xcb_xv_query_encodings_reply_t *
  1751. xcb_xv_query_encodings_reply (xcb_connection_t                 *c  /**< */,
  1752.                               xcb_xv_query_encodings_cookie_t   cookie  /**< */,
  1753.                               xcb_generic_error_t             **e  /**< */);
  1754.  
  1755. /**
  1756.  * Delivers a request to the X server
  1757.  * @param c The connection
  1758.  * @return A cookie
  1759.  *
  1760.  * Delivers a request to the X server.
  1761.  * 
  1762.  */
  1763.  
  1764. /*****************************************************************************
  1765.  **
  1766.  ** xcb_xv_grab_port_cookie_t xcb_xv_grab_port
  1767.  ** 
  1768.  ** @param xcb_connection_t *c
  1769.  ** @param xcb_xv_port_t     port
  1770.  ** @param xcb_timestamp_t   time
  1771.  ** @returns xcb_xv_grab_port_cookie_t
  1772.  **
  1773.  *****************************************************************************/
  1774.  
  1775. xcb_xv_grab_port_cookie_t
  1776. xcb_xv_grab_port (xcb_connection_t *c  /**< */,
  1777.                   xcb_xv_port_t     port  /**< */,
  1778.                   xcb_timestamp_t   time  /**< */);
  1779.  
  1780. /**
  1781.  * Delivers a request to the X server
  1782.  * @param c The connection
  1783.  * @return A cookie
  1784.  *
  1785.  * Delivers a request to the X server.
  1786.  * 
  1787.  * This form can be used only if the request will cause
  1788.  * a reply to be generated. Any returned error will be
  1789.  * placed in the event queue.
  1790.  */
  1791.  
  1792. /*****************************************************************************
  1793.  **
  1794.  ** xcb_xv_grab_port_cookie_t xcb_xv_grab_port_unchecked
  1795.  ** 
  1796.  ** @param xcb_connection_t *c
  1797.  ** @param xcb_xv_port_t     port
  1798.  ** @param xcb_timestamp_t   time
  1799.  ** @returns xcb_xv_grab_port_cookie_t
  1800.  **
  1801.  *****************************************************************************/
  1802.  
  1803. xcb_xv_grab_port_cookie_t
  1804. xcb_xv_grab_port_unchecked (xcb_connection_t *c  /**< */,
  1805.                             xcb_xv_port_t     port  /**< */,
  1806.                             xcb_timestamp_t   time  /**< */);
  1807.  
  1808. /**
  1809.  * Return the reply
  1810.  * @param c      The connection
  1811.  * @param cookie The cookie
  1812.  * @param e      The xcb_generic_error_t supplied
  1813.  *
  1814.  * Returns the reply of the request asked by
  1815.  * 
  1816.  * The parameter @p e supplied to this function must be NULL if
  1817.  * xcb_xv_grab_port_unchecked(). is used.
  1818.  * Otherwise, it stores the error if any.
  1819.  */
  1820.  
  1821. /*****************************************************************************
  1822.  **
  1823.  ** xcb_xv_grab_port_reply_t * xcb_xv_grab_port_reply
  1824.  ** 
  1825.  ** @param xcb_connection_t           *c
  1826.  ** @param xcb_xv_grab_port_cookie_t   cookie
  1827.  ** @param xcb_generic_error_t       **e
  1828.  ** @returns xcb_xv_grab_port_reply_t *
  1829.  **
  1830.  *****************************************************************************/
  1831.  
  1832. xcb_xv_grab_port_reply_t *
  1833. xcb_xv_grab_port_reply (xcb_connection_t           *c  /**< */,
  1834.                         xcb_xv_grab_port_cookie_t   cookie  /**< */,
  1835.                         xcb_generic_error_t       **e  /**< */);
  1836.  
  1837. /**
  1838.  * Delivers a request to the X server
  1839.  * @param c The connection
  1840.  * @return A cookie
  1841.  *
  1842.  * Delivers a request to the X server.
  1843.  * 
  1844.  * This form can be used only if the request will not cause
  1845.  * a reply to be generated. Any returned error will be
  1846.  * saved for handling by xcb_request_check().
  1847.  */
  1848.  
  1849. /*****************************************************************************
  1850.  **
  1851.  ** xcb_void_cookie_t xcb_xv_ungrab_port_checked
  1852.  ** 
  1853.  ** @param xcb_connection_t *c
  1854.  ** @param xcb_xv_port_t     port
  1855.  ** @param xcb_timestamp_t   time
  1856.  ** @returns xcb_void_cookie_t
  1857.  **
  1858.  *****************************************************************************/
  1859.  
  1860. xcb_void_cookie_t
  1861. xcb_xv_ungrab_port_checked (xcb_connection_t *c  /**< */,
  1862.                             xcb_xv_port_t     port  /**< */,
  1863.                             xcb_timestamp_t   time  /**< */);
  1864.  
  1865. /**
  1866.  * Delivers a request to the X server
  1867.  * @param c The connection
  1868.  * @return A cookie
  1869.  *
  1870.  * Delivers a request to the X server.
  1871.  * 
  1872.  */
  1873.  
  1874. /*****************************************************************************
  1875.  **
  1876.  ** xcb_void_cookie_t xcb_xv_ungrab_port
  1877.  ** 
  1878.  ** @param xcb_connection_t *c
  1879.  ** @param xcb_xv_port_t     port
  1880.  ** @param xcb_timestamp_t   time
  1881.  ** @returns xcb_void_cookie_t
  1882.  **
  1883.  *****************************************************************************/
  1884.  
  1885. xcb_void_cookie_t
  1886. xcb_xv_ungrab_port (xcb_connection_t *c  /**< */,
  1887.                     xcb_xv_port_t     port  /**< */,
  1888.                     xcb_timestamp_t   time  /**< */);
  1889.  
  1890. /**
  1891.  * Delivers a request to the X server
  1892.  * @param c The connection
  1893.  * @return A cookie
  1894.  *
  1895.  * Delivers a request to the X server.
  1896.  * 
  1897.  * This form can be used only if the request will not cause
  1898.  * a reply to be generated. Any returned error will be
  1899.  * saved for handling by xcb_request_check().
  1900.  */
  1901.  
  1902. /*****************************************************************************
  1903.  **
  1904.  ** xcb_void_cookie_t xcb_xv_put_video_checked
  1905.  ** 
  1906.  ** @param xcb_connection_t *c
  1907.  ** @param xcb_xv_port_t     port
  1908.  ** @param xcb_drawable_t    drawable
  1909.  ** @param xcb_gcontext_t    gc
  1910.  ** @param int16_t           vid_x
  1911.  ** @param int16_t           vid_y
  1912.  ** @param uint16_t          vid_w
  1913.  ** @param uint16_t          vid_h
  1914.  ** @param int16_t           drw_x
  1915.  ** @param int16_t           drw_y
  1916.  ** @param uint16_t          drw_w
  1917.  ** @param uint16_t          drw_h
  1918.  ** @returns xcb_void_cookie_t
  1919.  **
  1920.  *****************************************************************************/
  1921.  
  1922. xcb_void_cookie_t
  1923. xcb_xv_put_video_checked (xcb_connection_t *c  /**< */,
  1924.                           xcb_xv_port_t     port  /**< */,
  1925.                           xcb_drawable_t    drawable  /**< */,
  1926.                           xcb_gcontext_t    gc  /**< */,
  1927.                           int16_t           vid_x  /**< */,
  1928.                           int16_t           vid_y  /**< */,
  1929.                           uint16_t          vid_w  /**< */,
  1930.                           uint16_t          vid_h  /**< */,
  1931.                           int16_t           drw_x  /**< */,
  1932.                           int16_t           drw_y  /**< */,
  1933.                           uint16_t          drw_w  /**< */,
  1934.                           uint16_t          drw_h  /**< */);
  1935.  
  1936. /**
  1937.  * Delivers a request to the X server
  1938.  * @param c The connection
  1939.  * @return A cookie
  1940.  *
  1941.  * Delivers a request to the X server.
  1942.  * 
  1943.  */
  1944.  
  1945. /*****************************************************************************
  1946.  **
  1947.  ** xcb_void_cookie_t xcb_xv_put_video
  1948.  ** 
  1949.  ** @param xcb_connection_t *c
  1950.  ** @param xcb_xv_port_t     port
  1951.  ** @param xcb_drawable_t    drawable
  1952.  ** @param xcb_gcontext_t    gc
  1953.  ** @param int16_t           vid_x
  1954.  ** @param int16_t           vid_y
  1955.  ** @param uint16_t          vid_w
  1956.  ** @param uint16_t          vid_h
  1957.  ** @param int16_t           drw_x
  1958.  ** @param int16_t           drw_y
  1959.  ** @param uint16_t          drw_w
  1960.  ** @param uint16_t          drw_h
  1961.  ** @returns xcb_void_cookie_t
  1962.  **
  1963.  *****************************************************************************/
  1964.  
  1965. xcb_void_cookie_t
  1966. xcb_xv_put_video (xcb_connection_t *c  /**< */,
  1967.                   xcb_xv_port_t     port  /**< */,
  1968.                   xcb_drawable_t    drawable  /**< */,
  1969.                   xcb_gcontext_t    gc  /**< */,
  1970.                   int16_t           vid_x  /**< */,
  1971.                   int16_t           vid_y  /**< */,
  1972.                   uint16_t          vid_w  /**< */,
  1973.                   uint16_t          vid_h  /**< */,
  1974.                   int16_t           drw_x  /**< */,
  1975.                   int16_t           drw_y  /**< */,
  1976.                   uint16_t          drw_w  /**< */,
  1977.                   uint16_t          drw_h  /**< */);
  1978.  
  1979. /**
  1980.  * Delivers a request to the X server
  1981.  * @param c The connection
  1982.  * @return A cookie
  1983.  *
  1984.  * Delivers a request to the X server.
  1985.  * 
  1986.  * This form can be used only if the request will not cause
  1987.  * a reply to be generated. Any returned error will be
  1988.  * saved for handling by xcb_request_check().
  1989.  */
  1990.  
  1991. /*****************************************************************************
  1992.  **
  1993.  ** xcb_void_cookie_t xcb_xv_put_still_checked
  1994.  ** 
  1995.  ** @param xcb_connection_t *c
  1996.  ** @param xcb_xv_port_t     port
  1997.  ** @param xcb_drawable_t    drawable
  1998.  ** @param xcb_gcontext_t    gc
  1999.  ** @param int16_t           vid_x
  2000.  ** @param int16_t           vid_y
  2001.  ** @param uint16_t          vid_w
  2002.  ** @param uint16_t          vid_h
  2003.  ** @param int16_t           drw_x
  2004.  ** @param int16_t           drw_y
  2005.  ** @param uint16_t          drw_w
  2006.  ** @param uint16_t          drw_h
  2007.  ** @returns xcb_void_cookie_t
  2008.  **
  2009.  *****************************************************************************/
  2010.  
  2011. xcb_void_cookie_t
  2012. xcb_xv_put_still_checked (xcb_connection_t *c  /**< */,
  2013.                           xcb_xv_port_t     port  /**< */,
  2014.                           xcb_drawable_t    drawable  /**< */,
  2015.                           xcb_gcontext_t    gc  /**< */,
  2016.                           int16_t           vid_x  /**< */,
  2017.                           int16_t           vid_y  /**< */,
  2018.                           uint16_t          vid_w  /**< */,
  2019.                           uint16_t          vid_h  /**< */,
  2020.                           int16_t           drw_x  /**< */,
  2021.                           int16_t           drw_y  /**< */,
  2022.                           uint16_t          drw_w  /**< */,
  2023.                           uint16_t          drw_h  /**< */);
  2024.  
  2025. /**
  2026.  * Delivers a request to the X server
  2027.  * @param c The connection
  2028.  * @return A cookie
  2029.  *
  2030.  * Delivers a request to the X server.
  2031.  * 
  2032.  */
  2033.  
  2034. /*****************************************************************************
  2035.  **
  2036.  ** xcb_void_cookie_t xcb_xv_put_still
  2037.  ** 
  2038.  ** @param xcb_connection_t *c
  2039.  ** @param xcb_xv_port_t     port
  2040.  ** @param xcb_drawable_t    drawable
  2041.  ** @param xcb_gcontext_t    gc
  2042.  ** @param int16_t           vid_x
  2043.  ** @param int16_t           vid_y
  2044.  ** @param uint16_t          vid_w
  2045.  ** @param uint16_t          vid_h
  2046.  ** @param int16_t           drw_x
  2047.  ** @param int16_t           drw_y
  2048.  ** @param uint16_t          drw_w
  2049.  ** @param uint16_t          drw_h
  2050.  ** @returns xcb_void_cookie_t
  2051.  **
  2052.  *****************************************************************************/
  2053.  
  2054. xcb_void_cookie_t
  2055. xcb_xv_put_still (xcb_connection_t *c  /**< */,
  2056.                   xcb_xv_port_t     port  /**< */,
  2057.                   xcb_drawable_t    drawable  /**< */,
  2058.                   xcb_gcontext_t    gc  /**< */,
  2059.                   int16_t           vid_x  /**< */,
  2060.                   int16_t           vid_y  /**< */,
  2061.                   uint16_t          vid_w  /**< */,
  2062.                   uint16_t          vid_h  /**< */,
  2063.                   int16_t           drw_x  /**< */,
  2064.                   int16_t           drw_y  /**< */,
  2065.                   uint16_t          drw_w  /**< */,
  2066.                   uint16_t          drw_h  /**< */);
  2067.  
  2068. /**
  2069.  * Delivers a request to the X server
  2070.  * @param c The connection
  2071.  * @return A cookie
  2072.  *
  2073.  * Delivers a request to the X server.
  2074.  * 
  2075.  * This form can be used only if the request will not cause
  2076.  * a reply to be generated. Any returned error will be
  2077.  * saved for handling by xcb_request_check().
  2078.  */
  2079.  
  2080. /*****************************************************************************
  2081.  **
  2082.  ** xcb_void_cookie_t xcb_xv_get_video_checked
  2083.  ** 
  2084.  ** @param xcb_connection_t *c
  2085.  ** @param xcb_xv_port_t     port
  2086.  ** @param xcb_drawable_t    drawable
  2087.  ** @param xcb_gcontext_t    gc
  2088.  ** @param int16_t           vid_x
  2089.  ** @param int16_t           vid_y
  2090.  ** @param uint16_t          vid_w
  2091.  ** @param uint16_t          vid_h
  2092.  ** @param int16_t           drw_x
  2093.  ** @param int16_t           drw_y
  2094.  ** @param uint16_t          drw_w
  2095.  ** @param uint16_t          drw_h
  2096.  ** @returns xcb_void_cookie_t
  2097.  **
  2098.  *****************************************************************************/
  2099.  
  2100. xcb_void_cookie_t
  2101. xcb_xv_get_video_checked (xcb_connection_t *c  /**< */,
  2102.                           xcb_xv_port_t     port  /**< */,
  2103.                           xcb_drawable_t    drawable  /**< */,
  2104.                           xcb_gcontext_t    gc  /**< */,
  2105.                           int16_t           vid_x  /**< */,
  2106.                           int16_t           vid_y  /**< */,
  2107.                           uint16_t          vid_w  /**< */,
  2108.                           uint16_t          vid_h  /**< */,
  2109.                           int16_t           drw_x  /**< */,
  2110.                           int16_t           drw_y  /**< */,
  2111.                           uint16_t          drw_w  /**< */,
  2112.                           uint16_t          drw_h  /**< */);
  2113.  
  2114. /**
  2115.  * Delivers a request to the X server
  2116.  * @param c The connection
  2117.  * @return A cookie
  2118.  *
  2119.  * Delivers a request to the X server.
  2120.  * 
  2121.  */
  2122.  
  2123. /*****************************************************************************
  2124.  **
  2125.  ** xcb_void_cookie_t xcb_xv_get_video
  2126.  ** 
  2127.  ** @param xcb_connection_t *c
  2128.  ** @param xcb_xv_port_t     port
  2129.  ** @param xcb_drawable_t    drawable
  2130.  ** @param xcb_gcontext_t    gc
  2131.  ** @param int16_t           vid_x
  2132.  ** @param int16_t           vid_y
  2133.  ** @param uint16_t          vid_w
  2134.  ** @param uint16_t          vid_h
  2135.  ** @param int16_t           drw_x
  2136.  ** @param int16_t           drw_y
  2137.  ** @param uint16_t          drw_w
  2138.  ** @param uint16_t          drw_h
  2139.  ** @returns xcb_void_cookie_t
  2140.  **
  2141.  *****************************************************************************/
  2142.  
  2143. xcb_void_cookie_t
  2144. xcb_xv_get_video (xcb_connection_t *c  /**< */,
  2145.                   xcb_xv_port_t     port  /**< */,
  2146.                   xcb_drawable_t    drawable  /**< */,
  2147.                   xcb_gcontext_t    gc  /**< */,
  2148.                   int16_t           vid_x  /**< */,
  2149.                   int16_t           vid_y  /**< */,
  2150.                   uint16_t          vid_w  /**< */,
  2151.                   uint16_t          vid_h  /**< */,
  2152.                   int16_t           drw_x  /**< */,
  2153.                   int16_t           drw_y  /**< */,
  2154.                   uint16_t          drw_w  /**< */,
  2155.                   uint16_t          drw_h  /**< */);
  2156.  
  2157. /**
  2158.  * Delivers a request to the X server
  2159.  * @param c The connection
  2160.  * @return A cookie
  2161.  *
  2162.  * Delivers a request to the X server.
  2163.  * 
  2164.  * This form can be used only if the request will not cause
  2165.  * a reply to be generated. Any returned error will be
  2166.  * saved for handling by xcb_request_check().
  2167.  */
  2168.  
  2169. /*****************************************************************************
  2170.  **
  2171.  ** xcb_void_cookie_t xcb_xv_get_still_checked
  2172.  ** 
  2173.  ** @param xcb_connection_t *c
  2174.  ** @param xcb_xv_port_t     port
  2175.  ** @param xcb_drawable_t    drawable
  2176.  ** @param xcb_gcontext_t    gc
  2177.  ** @param int16_t           vid_x
  2178.  ** @param int16_t           vid_y
  2179.  ** @param uint16_t          vid_w
  2180.  ** @param uint16_t          vid_h
  2181.  ** @param int16_t           drw_x
  2182.  ** @param int16_t           drw_y
  2183.  ** @param uint16_t          drw_w
  2184.  ** @param uint16_t          drw_h
  2185.  ** @returns xcb_void_cookie_t
  2186.  **
  2187.  *****************************************************************************/
  2188.  
  2189. xcb_void_cookie_t
  2190. xcb_xv_get_still_checked (xcb_connection_t *c  /**< */,
  2191.                           xcb_xv_port_t     port  /**< */,
  2192.                           xcb_drawable_t    drawable  /**< */,
  2193.                           xcb_gcontext_t    gc  /**< */,
  2194.                           int16_t           vid_x  /**< */,
  2195.                           int16_t           vid_y  /**< */,
  2196.                           uint16_t          vid_w  /**< */,
  2197.                           uint16_t          vid_h  /**< */,
  2198.                           int16_t           drw_x  /**< */,
  2199.                           int16_t           drw_y  /**< */,
  2200.                           uint16_t          drw_w  /**< */,
  2201.                           uint16_t          drw_h  /**< */);
  2202.  
  2203. /**
  2204.  * Delivers a request to the X server
  2205.  * @param c The connection
  2206.  * @return A cookie
  2207.  *
  2208.  * Delivers a request to the X server.
  2209.  * 
  2210.  */
  2211.  
  2212. /*****************************************************************************
  2213.  **
  2214.  ** xcb_void_cookie_t xcb_xv_get_still
  2215.  ** 
  2216.  ** @param xcb_connection_t *c
  2217.  ** @param xcb_xv_port_t     port
  2218.  ** @param xcb_drawable_t    drawable
  2219.  ** @param xcb_gcontext_t    gc
  2220.  ** @param int16_t           vid_x
  2221.  ** @param int16_t           vid_y
  2222.  ** @param uint16_t          vid_w
  2223.  ** @param uint16_t          vid_h
  2224.  ** @param int16_t           drw_x
  2225.  ** @param int16_t           drw_y
  2226.  ** @param uint16_t          drw_w
  2227.  ** @param uint16_t          drw_h
  2228.  ** @returns xcb_void_cookie_t
  2229.  **
  2230.  *****************************************************************************/
  2231.  
  2232. xcb_void_cookie_t
  2233. xcb_xv_get_still (xcb_connection_t *c  /**< */,
  2234.                   xcb_xv_port_t     port  /**< */,
  2235.                   xcb_drawable_t    drawable  /**< */,
  2236.                   xcb_gcontext_t    gc  /**< */,
  2237.                   int16_t           vid_x  /**< */,
  2238.                   int16_t           vid_y  /**< */,
  2239.                   uint16_t          vid_w  /**< */,
  2240.                   uint16_t          vid_h  /**< */,
  2241.                   int16_t           drw_x  /**< */,
  2242.                   int16_t           drw_y  /**< */,
  2243.                   uint16_t          drw_w  /**< */,
  2244.                   uint16_t          drw_h  /**< */);
  2245.  
  2246. /**
  2247.  * Delivers a request to the X server
  2248.  * @param c The connection
  2249.  * @return A cookie
  2250.  *
  2251.  * Delivers a request to the X server.
  2252.  * 
  2253.  * This form can be used only if the request will not cause
  2254.  * a reply to be generated. Any returned error will be
  2255.  * saved for handling by xcb_request_check().
  2256.  */
  2257.  
  2258. /*****************************************************************************
  2259.  **
  2260.  ** xcb_void_cookie_t xcb_xv_stop_video_checked
  2261.  ** 
  2262.  ** @param xcb_connection_t *c
  2263.  ** @param xcb_xv_port_t     port
  2264.  ** @param xcb_drawable_t    drawable
  2265.  ** @returns xcb_void_cookie_t
  2266.  **
  2267.  *****************************************************************************/
  2268.  
  2269. xcb_void_cookie_t
  2270. xcb_xv_stop_video_checked (xcb_connection_t *c  /**< */,
  2271.                            xcb_xv_port_t     port  /**< */,
  2272.                            xcb_drawable_t    drawable  /**< */);
  2273.  
  2274. /**
  2275.  * Delivers a request to the X server
  2276.  * @param c The connection
  2277.  * @return A cookie
  2278.  *
  2279.  * Delivers a request to the X server.
  2280.  * 
  2281.  */
  2282.  
  2283. /*****************************************************************************
  2284.  **
  2285.  ** xcb_void_cookie_t xcb_xv_stop_video
  2286.  ** 
  2287.  ** @param xcb_connection_t *c
  2288.  ** @param xcb_xv_port_t     port
  2289.  ** @param xcb_drawable_t    drawable
  2290.  ** @returns xcb_void_cookie_t
  2291.  **
  2292.  *****************************************************************************/
  2293.  
  2294. xcb_void_cookie_t
  2295. xcb_xv_stop_video (xcb_connection_t *c  /**< */,
  2296.                    xcb_xv_port_t     port  /**< */,
  2297.                    xcb_drawable_t    drawable  /**< */);
  2298.  
  2299. /**
  2300.  * Delivers a request to the X server
  2301.  * @param c The connection
  2302.  * @return A cookie
  2303.  *
  2304.  * Delivers a request to the X server.
  2305.  * 
  2306.  * This form can be used only if the request will not cause
  2307.  * a reply to be generated. Any returned error will be
  2308.  * saved for handling by xcb_request_check().
  2309.  */
  2310.  
  2311. /*****************************************************************************
  2312.  **
  2313.  ** xcb_void_cookie_t xcb_xv_select_video_notify_checked
  2314.  ** 
  2315.  ** @param xcb_connection_t *c
  2316.  ** @param xcb_drawable_t    drawable
  2317.  ** @param uint8_t           onoff
  2318.  ** @returns xcb_void_cookie_t
  2319.  **
  2320.  *****************************************************************************/
  2321.  
  2322. xcb_void_cookie_t
  2323. xcb_xv_select_video_notify_checked (xcb_connection_t *c  /**< */,
  2324.                                     xcb_drawable_t    drawable  /**< */,
  2325.                                     uint8_t           onoff  /**< */);
  2326.  
  2327. /**
  2328.  * Delivers a request to the X server
  2329.  * @param c The connection
  2330.  * @return A cookie
  2331.  *
  2332.  * Delivers a request to the X server.
  2333.  * 
  2334.  */
  2335.  
  2336. /*****************************************************************************
  2337.  **
  2338.  ** xcb_void_cookie_t xcb_xv_select_video_notify
  2339.  ** 
  2340.  ** @param xcb_connection_t *c
  2341.  ** @param xcb_drawable_t    drawable
  2342.  ** @param uint8_t           onoff
  2343.  ** @returns xcb_void_cookie_t
  2344.  **
  2345.  *****************************************************************************/
  2346.  
  2347. xcb_void_cookie_t
  2348. xcb_xv_select_video_notify (xcb_connection_t *c  /**< */,
  2349.                             xcb_drawable_t    drawable  /**< */,
  2350.                             uint8_t           onoff  /**< */);
  2351.  
  2352. /**
  2353.  * Delivers a request to the X server
  2354.  * @param c The connection
  2355.  * @return A cookie
  2356.  *
  2357.  * Delivers a request to the X server.
  2358.  * 
  2359.  * This form can be used only if the request will not cause
  2360.  * a reply to be generated. Any returned error will be
  2361.  * saved for handling by xcb_request_check().
  2362.  */
  2363.  
  2364. /*****************************************************************************
  2365.  **
  2366.  ** xcb_void_cookie_t xcb_xv_select_port_notify_checked
  2367.  ** 
  2368.  ** @param xcb_connection_t *c
  2369.  ** @param xcb_drawable_t    drawable
  2370.  ** @param uint8_t           onoff
  2371.  ** @returns xcb_void_cookie_t
  2372.  **
  2373.  *****************************************************************************/
  2374.  
  2375. xcb_void_cookie_t
  2376. xcb_xv_select_port_notify_checked (xcb_connection_t *c  /**< */,
  2377.                                    xcb_drawable_t    drawable  /**< */,
  2378.                                    uint8_t           onoff  /**< */);
  2379.  
  2380. /**
  2381.  * Delivers a request to the X server
  2382.  * @param c The connection
  2383.  * @return A cookie
  2384.  *
  2385.  * Delivers a request to the X server.
  2386.  * 
  2387.  */
  2388.  
  2389. /*****************************************************************************
  2390.  **
  2391.  ** xcb_void_cookie_t xcb_xv_select_port_notify
  2392.  ** 
  2393.  ** @param xcb_connection_t *c
  2394.  ** @param xcb_drawable_t    drawable
  2395.  ** @param uint8_t           onoff
  2396.  ** @returns xcb_void_cookie_t
  2397.  **
  2398.  *****************************************************************************/
  2399.  
  2400. xcb_void_cookie_t
  2401. xcb_xv_select_port_notify (xcb_connection_t *c  /**< */,
  2402.                            xcb_drawable_t    drawable  /**< */,
  2403.                            uint8_t           onoff  /**< */);
  2404.  
  2405. /**
  2406.  * Delivers a request to the X server
  2407.  * @param c The connection
  2408.  * @return A cookie
  2409.  *
  2410.  * Delivers a request to the X server.
  2411.  * 
  2412.  */
  2413.  
  2414. /*****************************************************************************
  2415.  **
  2416.  ** xcb_xv_query_best_size_cookie_t xcb_xv_query_best_size
  2417.  ** 
  2418.  ** @param xcb_connection_t *c
  2419.  ** @param xcb_xv_port_t     port
  2420.  ** @param uint16_t          vid_w
  2421.  ** @param uint16_t          vid_h
  2422.  ** @param uint16_t          drw_w
  2423.  ** @param uint16_t          drw_h
  2424.  ** @param uint8_t           motion
  2425.  ** @returns xcb_xv_query_best_size_cookie_t
  2426.  **
  2427.  *****************************************************************************/
  2428.  
  2429. xcb_xv_query_best_size_cookie_t
  2430. xcb_xv_query_best_size (xcb_connection_t *c  /**< */,
  2431.                         xcb_xv_port_t     port  /**< */,
  2432.                         uint16_t          vid_w  /**< */,
  2433.                         uint16_t          vid_h  /**< */,
  2434.                         uint16_t          drw_w  /**< */,
  2435.                         uint16_t          drw_h  /**< */,
  2436.                         uint8_t           motion  /**< */);
  2437.  
  2438. /**
  2439.  * Delivers a request to the X server
  2440.  * @param c The connection
  2441.  * @return A cookie
  2442.  *
  2443.  * Delivers a request to the X server.
  2444.  * 
  2445.  * This form can be used only if the request will cause
  2446.  * a reply to be generated. Any returned error will be
  2447.  * placed in the event queue.
  2448.  */
  2449.  
  2450. /*****************************************************************************
  2451.  **
  2452.  ** xcb_xv_query_best_size_cookie_t xcb_xv_query_best_size_unchecked
  2453.  ** 
  2454.  ** @param xcb_connection_t *c
  2455.  ** @param xcb_xv_port_t     port
  2456.  ** @param uint16_t          vid_w
  2457.  ** @param uint16_t          vid_h
  2458.  ** @param uint16_t          drw_w
  2459.  ** @param uint16_t          drw_h
  2460.  ** @param uint8_t           motion
  2461.  ** @returns xcb_xv_query_best_size_cookie_t
  2462.  **
  2463.  *****************************************************************************/
  2464.  
  2465. xcb_xv_query_best_size_cookie_t
  2466. xcb_xv_query_best_size_unchecked (xcb_connection_t *c  /**< */,
  2467.                                   xcb_xv_port_t     port  /**< */,
  2468.                                   uint16_t          vid_w  /**< */,
  2469.                                   uint16_t          vid_h  /**< */,
  2470.                                   uint16_t          drw_w  /**< */,
  2471.                                   uint16_t          drw_h  /**< */,
  2472.                                   uint8_t           motion  /**< */);
  2473.  
  2474. /**
  2475.  * Return the reply
  2476.  * @param c      The connection
  2477.  * @param cookie The cookie
  2478.  * @param e      The xcb_generic_error_t supplied
  2479.  *
  2480.  * Returns the reply of the request asked by
  2481.  * 
  2482.  * The parameter @p e supplied to this function must be NULL if
  2483.  * xcb_xv_query_best_size_unchecked(). is used.
  2484.  * Otherwise, it stores the error if any.
  2485.  */
  2486.  
  2487. /*****************************************************************************
  2488.  **
  2489.  ** xcb_xv_query_best_size_reply_t * xcb_xv_query_best_size_reply
  2490.  ** 
  2491.  ** @param xcb_connection_t                 *c
  2492.  ** @param xcb_xv_query_best_size_cookie_t   cookie
  2493.  ** @param xcb_generic_error_t             **e
  2494.  ** @returns xcb_xv_query_best_size_reply_t *
  2495.  **
  2496.  *****************************************************************************/
  2497.  
  2498. xcb_xv_query_best_size_reply_t *
  2499. xcb_xv_query_best_size_reply (xcb_connection_t                 *c  /**< */,
  2500.                               xcb_xv_query_best_size_cookie_t   cookie  /**< */,
  2501.                               xcb_generic_error_t             **e  /**< */);
  2502.  
  2503. /**
  2504.  * Delivers a request to the X server
  2505.  * @param c The connection
  2506.  * @return A cookie
  2507.  *
  2508.  * Delivers a request to the X server.
  2509.  * 
  2510.  * This form can be used only if the request will not cause
  2511.  * a reply to be generated. Any returned error will be
  2512.  * saved for handling by xcb_request_check().
  2513.  */
  2514.  
  2515. /*****************************************************************************
  2516.  **
  2517.  ** xcb_void_cookie_t xcb_xv_set_port_attribute_checked
  2518.  ** 
  2519.  ** @param xcb_connection_t *c
  2520.  ** @param xcb_xv_port_t     port
  2521.  ** @param xcb_atom_t        attribute
  2522.  ** @param int32_t           value
  2523.  ** @returns xcb_void_cookie_t
  2524.  **
  2525.  *****************************************************************************/
  2526.  
  2527. xcb_void_cookie_t
  2528. xcb_xv_set_port_attribute_checked (xcb_connection_t *c  /**< */,
  2529.                                    xcb_xv_port_t     port  /**< */,
  2530.                                    xcb_atom_t        attribute  /**< */,
  2531.                                    int32_t           value  /**< */);
  2532.  
  2533. /**
  2534.  * Delivers a request to the X server
  2535.  * @param c The connection
  2536.  * @return A cookie
  2537.  *
  2538.  * Delivers a request to the X server.
  2539.  * 
  2540.  */
  2541.  
  2542. /*****************************************************************************
  2543.  **
  2544.  ** xcb_void_cookie_t xcb_xv_set_port_attribute
  2545.  ** 
  2546.  ** @param xcb_connection_t *c
  2547.  ** @param xcb_xv_port_t     port
  2548.  ** @param xcb_atom_t        attribute
  2549.  ** @param int32_t           value
  2550.  ** @returns xcb_void_cookie_t
  2551.  **
  2552.  *****************************************************************************/
  2553.  
  2554. xcb_void_cookie_t
  2555. xcb_xv_set_port_attribute (xcb_connection_t *c  /**< */,
  2556.                            xcb_xv_port_t     port  /**< */,
  2557.                            xcb_atom_t        attribute  /**< */,
  2558.                            int32_t           value  /**< */);
  2559.  
  2560. /**
  2561.  * Delivers a request to the X server
  2562.  * @param c The connection
  2563.  * @return A cookie
  2564.  *
  2565.  * Delivers a request to the X server.
  2566.  * 
  2567.  */
  2568.  
  2569. /*****************************************************************************
  2570.  **
  2571.  ** xcb_xv_get_port_attribute_cookie_t xcb_xv_get_port_attribute
  2572.  ** 
  2573.  ** @param xcb_connection_t *c
  2574.  ** @param xcb_xv_port_t     port
  2575.  ** @param xcb_atom_t        attribute
  2576.  ** @returns xcb_xv_get_port_attribute_cookie_t
  2577.  **
  2578.  *****************************************************************************/
  2579.  
  2580. xcb_xv_get_port_attribute_cookie_t
  2581. xcb_xv_get_port_attribute (xcb_connection_t *c  /**< */,
  2582.                            xcb_xv_port_t     port  /**< */,
  2583.                            xcb_atom_t        attribute  /**< */);
  2584.  
  2585. /**
  2586.  * Delivers a request to the X server
  2587.  * @param c The connection
  2588.  * @return A cookie
  2589.  *
  2590.  * Delivers a request to the X server.
  2591.  * 
  2592.  * This form can be used only if the request will cause
  2593.  * a reply to be generated. Any returned error will be
  2594.  * placed in the event queue.
  2595.  */
  2596.  
  2597. /*****************************************************************************
  2598.  **
  2599.  ** xcb_xv_get_port_attribute_cookie_t xcb_xv_get_port_attribute_unchecked
  2600.  ** 
  2601.  ** @param xcb_connection_t *c
  2602.  ** @param xcb_xv_port_t     port
  2603.  ** @param xcb_atom_t        attribute
  2604.  ** @returns xcb_xv_get_port_attribute_cookie_t
  2605.  **
  2606.  *****************************************************************************/
  2607.  
  2608. xcb_xv_get_port_attribute_cookie_t
  2609. xcb_xv_get_port_attribute_unchecked (xcb_connection_t *c  /**< */,
  2610.                                      xcb_xv_port_t     port  /**< */,
  2611.                                      xcb_atom_t        attribute  /**< */);
  2612.  
  2613. /**
  2614.  * Return the reply
  2615.  * @param c      The connection
  2616.  * @param cookie The cookie
  2617.  * @param e      The xcb_generic_error_t supplied
  2618.  *
  2619.  * Returns the reply of the request asked by
  2620.  * 
  2621.  * The parameter @p e supplied to this function must be NULL if
  2622.  * xcb_xv_get_port_attribute_unchecked(). is used.
  2623.  * Otherwise, it stores the error if any.
  2624.  */
  2625.  
  2626. /*****************************************************************************
  2627.  **
  2628.  ** xcb_xv_get_port_attribute_reply_t * xcb_xv_get_port_attribute_reply
  2629.  ** 
  2630.  ** @param xcb_connection_t                    *c
  2631.  ** @param xcb_xv_get_port_attribute_cookie_t   cookie
  2632.  ** @param xcb_generic_error_t                **e
  2633.  ** @returns xcb_xv_get_port_attribute_reply_t *
  2634.  **
  2635.  *****************************************************************************/
  2636.  
  2637. xcb_xv_get_port_attribute_reply_t *
  2638. xcb_xv_get_port_attribute_reply (xcb_connection_t                    *c  /**< */,
  2639.                                  xcb_xv_get_port_attribute_cookie_t   cookie  /**< */,
  2640.                                  xcb_generic_error_t                **e  /**< */);
  2641.  
  2642. /**
  2643.  * Delivers a request to the X server
  2644.  * @param c The connection
  2645.  * @return A cookie
  2646.  *
  2647.  * Delivers a request to the X server.
  2648.  * 
  2649.  */
  2650.  
  2651. /*****************************************************************************
  2652.  **
  2653.  ** xcb_xv_query_port_attributes_cookie_t xcb_xv_query_port_attributes
  2654.  ** 
  2655.  ** @param xcb_connection_t *c
  2656.  ** @param xcb_xv_port_t     port
  2657.  ** @returns xcb_xv_query_port_attributes_cookie_t
  2658.  **
  2659.  *****************************************************************************/
  2660.  
  2661. xcb_xv_query_port_attributes_cookie_t
  2662. xcb_xv_query_port_attributes (xcb_connection_t *c  /**< */,
  2663.                               xcb_xv_port_t     port  /**< */);
  2664.  
  2665. /**
  2666.  * Delivers a request to the X server
  2667.  * @param c The connection
  2668.  * @return A cookie
  2669.  *
  2670.  * Delivers a request to the X server.
  2671.  * 
  2672.  * This form can be used only if the request will cause
  2673.  * a reply to be generated. Any returned error will be
  2674.  * placed in the event queue.
  2675.  */
  2676.  
  2677. /*****************************************************************************
  2678.  **
  2679.  ** xcb_xv_query_port_attributes_cookie_t xcb_xv_query_port_attributes_unchecked
  2680.  ** 
  2681.  ** @param xcb_connection_t *c
  2682.  ** @param xcb_xv_port_t     port
  2683.  ** @returns xcb_xv_query_port_attributes_cookie_t
  2684.  **
  2685.  *****************************************************************************/
  2686.  
  2687. xcb_xv_query_port_attributes_cookie_t
  2688. xcb_xv_query_port_attributes_unchecked (xcb_connection_t *c  /**< */,
  2689.                                         xcb_xv_port_t     port  /**< */);
  2690.  
  2691.  
  2692. /*****************************************************************************
  2693.  **
  2694.  ** int xcb_xv_query_port_attributes_attributes_length
  2695.  ** 
  2696.  ** @param const xcb_xv_query_port_attributes_reply_t *R
  2697.  ** @returns int
  2698.  **
  2699.  *****************************************************************************/
  2700.  
  2701. int
  2702. xcb_xv_query_port_attributes_attributes_length (const xcb_xv_query_port_attributes_reply_t *R  /**< */);
  2703.  
  2704.  
  2705. /*****************************************************************************
  2706.  **
  2707.  ** xcb_xv_attribute_info_iterator_t xcb_xv_query_port_attributes_attributes_iterator
  2708.  ** 
  2709.  ** @param const xcb_xv_query_port_attributes_reply_t *R
  2710.  ** @returns xcb_xv_attribute_info_iterator_t
  2711.  **
  2712.  *****************************************************************************/
  2713.  
  2714. xcb_xv_attribute_info_iterator_t
  2715. xcb_xv_query_port_attributes_attributes_iterator (const xcb_xv_query_port_attributes_reply_t *R  /**< */);
  2716.  
  2717. /**
  2718.  * Return the reply
  2719.  * @param c      The connection
  2720.  * @param cookie The cookie
  2721.  * @param e      The xcb_generic_error_t supplied
  2722.  *
  2723.  * Returns the reply of the request asked by
  2724.  * 
  2725.  * The parameter @p e supplied to this function must be NULL if
  2726.  * xcb_xv_query_port_attributes_unchecked(). is used.
  2727.  * Otherwise, it stores the error if any.
  2728.  */
  2729.  
  2730. /*****************************************************************************
  2731.  **
  2732.  ** xcb_xv_query_port_attributes_reply_t * xcb_xv_query_port_attributes_reply
  2733.  ** 
  2734.  ** @param xcb_connection_t                       *c
  2735.  ** @param xcb_xv_query_port_attributes_cookie_t   cookie
  2736.  ** @param xcb_generic_error_t                   **e
  2737.  ** @returns xcb_xv_query_port_attributes_reply_t *
  2738.  **
  2739.  *****************************************************************************/
  2740.  
  2741. xcb_xv_query_port_attributes_reply_t *
  2742. xcb_xv_query_port_attributes_reply (xcb_connection_t                       *c  /**< */,
  2743.                                     xcb_xv_query_port_attributes_cookie_t   cookie  /**< */,
  2744.                                     xcb_generic_error_t                   **e  /**< */);
  2745.  
  2746. /**
  2747.  * Delivers a request to the X server
  2748.  * @param c The connection
  2749.  * @return A cookie
  2750.  *
  2751.  * Delivers a request to the X server.
  2752.  * 
  2753.  */
  2754.  
  2755. /*****************************************************************************
  2756.  **
  2757.  ** xcb_xv_list_image_formats_cookie_t xcb_xv_list_image_formats
  2758.  ** 
  2759.  ** @param xcb_connection_t *c
  2760.  ** @param xcb_xv_port_t     port
  2761.  ** @returns xcb_xv_list_image_formats_cookie_t
  2762.  **
  2763.  *****************************************************************************/
  2764.  
  2765. xcb_xv_list_image_formats_cookie_t
  2766. xcb_xv_list_image_formats (xcb_connection_t *c  /**< */,
  2767.                            xcb_xv_port_t     port  /**< */);
  2768.  
  2769. /**
  2770.  * Delivers a request to the X server
  2771.  * @param c The connection
  2772.  * @return A cookie
  2773.  *
  2774.  * Delivers a request to the X server.
  2775.  * 
  2776.  * This form can be used only if the request will cause
  2777.  * a reply to be generated. Any returned error will be
  2778.  * placed in the event queue.
  2779.  */
  2780.  
  2781. /*****************************************************************************
  2782.  **
  2783.  ** xcb_xv_list_image_formats_cookie_t xcb_xv_list_image_formats_unchecked
  2784.  ** 
  2785.  ** @param xcb_connection_t *c
  2786.  ** @param xcb_xv_port_t     port
  2787.  ** @returns xcb_xv_list_image_formats_cookie_t
  2788.  **
  2789.  *****************************************************************************/
  2790.  
  2791. xcb_xv_list_image_formats_cookie_t
  2792. xcb_xv_list_image_formats_unchecked (xcb_connection_t *c  /**< */,
  2793.                                      xcb_xv_port_t     port  /**< */);
  2794.  
  2795.  
  2796. /*****************************************************************************
  2797.  **
  2798.  ** int xcb_xv_list_image_formats_format_length
  2799.  ** 
  2800.  ** @param const xcb_xv_list_image_formats_reply_t *R
  2801.  ** @returns int
  2802.  **
  2803.  *****************************************************************************/
  2804.  
  2805. int
  2806. xcb_xv_list_image_formats_format_length (const xcb_xv_list_image_formats_reply_t *R  /**< */);
  2807.  
  2808.  
  2809. /*****************************************************************************
  2810.  **
  2811.  ** xcb_xv_image_format_info_iterator_t xcb_xv_list_image_formats_format_iterator
  2812.  ** 
  2813.  ** @param const xcb_xv_list_image_formats_reply_t *R
  2814.  ** @returns xcb_xv_image_format_info_iterator_t
  2815.  **
  2816.  *****************************************************************************/
  2817.  
  2818. xcb_xv_image_format_info_iterator_t
  2819. xcb_xv_list_image_formats_format_iterator (const xcb_xv_list_image_formats_reply_t *R  /**< */);
  2820.  
  2821. /**
  2822.  * Return the reply
  2823.  * @param c      The connection
  2824.  * @param cookie The cookie
  2825.  * @param e      The xcb_generic_error_t supplied
  2826.  *
  2827.  * Returns the reply of the request asked by
  2828.  * 
  2829.  * The parameter @p e supplied to this function must be NULL if
  2830.  * xcb_xv_list_image_formats_unchecked(). is used.
  2831.  * Otherwise, it stores the error if any.
  2832.  */
  2833.  
  2834. /*****************************************************************************
  2835.  **
  2836.  ** xcb_xv_list_image_formats_reply_t * xcb_xv_list_image_formats_reply
  2837.  ** 
  2838.  ** @param xcb_connection_t                    *c
  2839.  ** @param xcb_xv_list_image_formats_cookie_t   cookie
  2840.  ** @param xcb_generic_error_t                **e
  2841.  ** @returns xcb_xv_list_image_formats_reply_t *
  2842.  **
  2843.  *****************************************************************************/
  2844.  
  2845. xcb_xv_list_image_formats_reply_t *
  2846. xcb_xv_list_image_formats_reply (xcb_connection_t                    *c  /**< */,
  2847.                                  xcb_xv_list_image_formats_cookie_t   cookie  /**< */,
  2848.                                  xcb_generic_error_t                **e  /**< */);
  2849.  
  2850. /**
  2851.  * Delivers a request to the X server
  2852.  * @param c The connection
  2853.  * @return A cookie
  2854.  *
  2855.  * Delivers a request to the X server.
  2856.  * 
  2857.  */
  2858.  
  2859. /*****************************************************************************
  2860.  **
  2861.  ** xcb_xv_query_image_attributes_cookie_t xcb_xv_query_image_attributes
  2862.  ** 
  2863.  ** @param xcb_connection_t *c
  2864.  ** @param xcb_xv_port_t     port
  2865.  ** @param uint32_t          id
  2866.  ** @param uint16_t          width
  2867.  ** @param uint16_t          height
  2868.  ** @returns xcb_xv_query_image_attributes_cookie_t
  2869.  **
  2870.  *****************************************************************************/
  2871.  
  2872. xcb_xv_query_image_attributes_cookie_t
  2873. xcb_xv_query_image_attributes (xcb_connection_t *c  /**< */,
  2874.                                xcb_xv_port_t     port  /**< */,
  2875.                                uint32_t          id  /**< */,
  2876.                                uint16_t          width  /**< */,
  2877.                                uint16_t          height  /**< */);
  2878.  
  2879. /**
  2880.  * Delivers a request to the X server
  2881.  * @param c The connection
  2882.  * @return A cookie
  2883.  *
  2884.  * Delivers a request to the X server.
  2885.  * 
  2886.  * This form can be used only if the request will cause
  2887.  * a reply to be generated. Any returned error will be
  2888.  * placed in the event queue.
  2889.  */
  2890.  
  2891. /*****************************************************************************
  2892.  **
  2893.  ** xcb_xv_query_image_attributes_cookie_t xcb_xv_query_image_attributes_unchecked
  2894.  ** 
  2895.  ** @param xcb_connection_t *c
  2896.  ** @param xcb_xv_port_t     port
  2897.  ** @param uint32_t          id
  2898.  ** @param uint16_t          width
  2899.  ** @param uint16_t          height
  2900.  ** @returns xcb_xv_query_image_attributes_cookie_t
  2901.  **
  2902.  *****************************************************************************/
  2903.  
  2904. xcb_xv_query_image_attributes_cookie_t
  2905. xcb_xv_query_image_attributes_unchecked (xcb_connection_t *c  /**< */,
  2906.                                          xcb_xv_port_t     port  /**< */,
  2907.                                          uint32_t          id  /**< */,
  2908.                                          uint16_t          width  /**< */,
  2909.                                          uint16_t          height  /**< */);
  2910.  
  2911.  
  2912. /*****************************************************************************
  2913.  **
  2914.  ** uint32_t * xcb_xv_query_image_attributes_pitches
  2915.  ** 
  2916.  ** @param const xcb_xv_query_image_attributes_reply_t *R
  2917.  ** @returns uint32_t *
  2918.  **
  2919.  *****************************************************************************/
  2920.  
  2921. uint32_t *
  2922. xcb_xv_query_image_attributes_pitches (const xcb_xv_query_image_attributes_reply_t *R  /**< */);
  2923.  
  2924.  
  2925. /*****************************************************************************
  2926.  **
  2927.  ** int xcb_xv_query_image_attributes_pitches_length
  2928.  ** 
  2929.  ** @param const xcb_xv_query_image_attributes_reply_t *R
  2930.  ** @returns int
  2931.  **
  2932.  *****************************************************************************/
  2933.  
  2934. int
  2935. xcb_xv_query_image_attributes_pitches_length (const xcb_xv_query_image_attributes_reply_t *R  /**< */);
  2936.  
  2937.  
  2938. /*****************************************************************************
  2939.  **
  2940.  ** xcb_generic_iterator_t xcb_xv_query_image_attributes_pitches_end
  2941.  ** 
  2942.  ** @param const xcb_xv_query_image_attributes_reply_t *R
  2943.  ** @returns xcb_generic_iterator_t
  2944.  **
  2945.  *****************************************************************************/
  2946.  
  2947. xcb_generic_iterator_t
  2948. xcb_xv_query_image_attributes_pitches_end (const xcb_xv_query_image_attributes_reply_t *R  /**< */);
  2949.  
  2950.  
  2951. /*****************************************************************************
  2952.  **
  2953.  ** uint32_t * xcb_xv_query_image_attributes_offsets
  2954.  ** 
  2955.  ** @param const xcb_xv_query_image_attributes_reply_t *R
  2956.  ** @returns uint32_t *
  2957.  **
  2958.  *****************************************************************************/
  2959.  
  2960. uint32_t *
  2961. xcb_xv_query_image_attributes_offsets (const xcb_xv_query_image_attributes_reply_t *R  /**< */);
  2962.  
  2963.  
  2964. /*****************************************************************************
  2965.  **
  2966.  ** int xcb_xv_query_image_attributes_offsets_length
  2967.  ** 
  2968.  ** @param const xcb_xv_query_image_attributes_reply_t *R
  2969.  ** @returns int
  2970.  **
  2971.  *****************************************************************************/
  2972.  
  2973. int
  2974. xcb_xv_query_image_attributes_offsets_length (const xcb_xv_query_image_attributes_reply_t *R  /**< */);
  2975.  
  2976.  
  2977. /*****************************************************************************
  2978.  **
  2979.  ** xcb_generic_iterator_t xcb_xv_query_image_attributes_offsets_end
  2980.  ** 
  2981.  ** @param const xcb_xv_query_image_attributes_reply_t *R
  2982.  ** @returns xcb_generic_iterator_t
  2983.  **
  2984.  *****************************************************************************/
  2985.  
  2986. xcb_generic_iterator_t
  2987. xcb_xv_query_image_attributes_offsets_end (const xcb_xv_query_image_attributes_reply_t *R  /**< */);
  2988.  
  2989. /**
  2990.  * Return the reply
  2991.  * @param c      The connection
  2992.  * @param cookie The cookie
  2993.  * @param e      The xcb_generic_error_t supplied
  2994.  *
  2995.  * Returns the reply of the request asked by
  2996.  * 
  2997.  * The parameter @p e supplied to this function must be NULL if
  2998.  * xcb_xv_query_image_attributes_unchecked(). is used.
  2999.  * Otherwise, it stores the error if any.
  3000.  */
  3001.  
  3002. /*****************************************************************************
  3003.  **
  3004.  ** xcb_xv_query_image_attributes_reply_t * xcb_xv_query_image_attributes_reply
  3005.  ** 
  3006.  ** @param xcb_connection_t                        *c
  3007.  ** @param xcb_xv_query_image_attributes_cookie_t   cookie
  3008.  ** @param xcb_generic_error_t                    **e
  3009.  ** @returns xcb_xv_query_image_attributes_reply_t *
  3010.  **
  3011.  *****************************************************************************/
  3012.  
  3013. xcb_xv_query_image_attributes_reply_t *
  3014. xcb_xv_query_image_attributes_reply (xcb_connection_t                        *c  /**< */,
  3015.                                      xcb_xv_query_image_attributes_cookie_t   cookie  /**< */,
  3016.                                      xcb_generic_error_t                    **e  /**< */);
  3017.  
  3018. /**
  3019.  * Delivers a request to the X server
  3020.  * @param c The connection
  3021.  * @return A cookie
  3022.  *
  3023.  * Delivers a request to the X server.
  3024.  * 
  3025.  * This form can be used only if the request will not cause
  3026.  * a reply to be generated. Any returned error will be
  3027.  * saved for handling by xcb_request_check().
  3028.  */
  3029.  
  3030. /*****************************************************************************
  3031.  **
  3032.  ** xcb_void_cookie_t xcb_xv_put_image_checked
  3033.  ** 
  3034.  ** @param xcb_connection_t *c
  3035.  ** @param xcb_xv_port_t     port
  3036.  ** @param xcb_drawable_t    drawable
  3037.  ** @param xcb_gcontext_t    gc
  3038.  ** @param uint32_t          id
  3039.  ** @param int16_t           src_x
  3040.  ** @param int16_t           src_y
  3041.  ** @param uint16_t          src_w
  3042.  ** @param uint16_t          src_h
  3043.  ** @param int16_t           drw_x
  3044.  ** @param int16_t           drw_y
  3045.  ** @param uint16_t          drw_w
  3046.  ** @param uint16_t          drw_h
  3047.  ** @param uint16_t          width
  3048.  ** @param uint16_t          height
  3049.  ** @param uint32_t          data_len
  3050.  ** @param const uint8_t    *data
  3051.  ** @returns xcb_void_cookie_t
  3052.  **
  3053.  *****************************************************************************/
  3054.  
  3055. xcb_void_cookie_t
  3056. xcb_xv_put_image_checked (xcb_connection_t *c  /**< */,
  3057.                           xcb_xv_port_t     port  /**< */,
  3058.                           xcb_drawable_t    drawable  /**< */,
  3059.                           xcb_gcontext_t    gc  /**< */,
  3060.                           uint32_t          id  /**< */,
  3061.                           int16_t           src_x  /**< */,
  3062.                           int16_t           src_y  /**< */,
  3063.                           uint16_t          src_w  /**< */,
  3064.                           uint16_t          src_h  /**< */,
  3065.                           int16_t           drw_x  /**< */,
  3066.                           int16_t           drw_y  /**< */,
  3067.                           uint16_t          drw_w  /**< */,
  3068.                           uint16_t          drw_h  /**< */,
  3069.                           uint16_t          width  /**< */,
  3070.                           uint16_t          height  /**< */,
  3071.                           uint32_t          data_len  /**< */,
  3072.                           const uint8_t    *data  /**< */);
  3073.  
  3074. /**
  3075.  * Delivers a request to the X server
  3076.  * @param c The connection
  3077.  * @return A cookie
  3078.  *
  3079.  * Delivers a request to the X server.
  3080.  * 
  3081.  */
  3082.  
  3083. /*****************************************************************************
  3084.  **
  3085.  ** xcb_void_cookie_t xcb_xv_put_image
  3086.  ** 
  3087.  ** @param xcb_connection_t *c
  3088.  ** @param xcb_xv_port_t     port
  3089.  ** @param xcb_drawable_t    drawable
  3090.  ** @param xcb_gcontext_t    gc
  3091.  ** @param uint32_t          id
  3092.  ** @param int16_t           src_x
  3093.  ** @param int16_t           src_y
  3094.  ** @param uint16_t          src_w
  3095.  ** @param uint16_t          src_h
  3096.  ** @param int16_t           drw_x
  3097.  ** @param int16_t           drw_y
  3098.  ** @param uint16_t          drw_w
  3099.  ** @param uint16_t          drw_h
  3100.  ** @param uint16_t          width
  3101.  ** @param uint16_t          height
  3102.  ** @param uint32_t          data_len
  3103.  ** @param const uint8_t    *data
  3104.  ** @returns xcb_void_cookie_t
  3105.  **
  3106.  *****************************************************************************/
  3107.  
  3108. xcb_void_cookie_t
  3109. xcb_xv_put_image (xcb_connection_t *c  /**< */,
  3110.                   xcb_xv_port_t     port  /**< */,
  3111.                   xcb_drawable_t    drawable  /**< */,
  3112.                   xcb_gcontext_t    gc  /**< */,
  3113.                   uint32_t          id  /**< */,
  3114.                   int16_t           src_x  /**< */,
  3115.                   int16_t           src_y  /**< */,
  3116.                   uint16_t          src_w  /**< */,
  3117.                   uint16_t          src_h  /**< */,
  3118.                   int16_t           drw_x  /**< */,
  3119.                   int16_t           drw_y  /**< */,
  3120.                   uint16_t          drw_w  /**< */,
  3121.                   uint16_t          drw_h  /**< */,
  3122.                   uint16_t          width  /**< */,
  3123.                   uint16_t          height  /**< */,
  3124.                   uint32_t          data_len  /**< */,
  3125.                   const uint8_t    *data  /**< */);
  3126.  
  3127. /**
  3128.  * Delivers a request to the X server
  3129.  * @param c The connection
  3130.  * @return A cookie
  3131.  *
  3132.  * Delivers a request to the X server.
  3133.  * 
  3134.  * This form can be used only if the request will not cause
  3135.  * a reply to be generated. Any returned error will be
  3136.  * saved for handling by xcb_request_check().
  3137.  */
  3138.  
  3139. /*****************************************************************************
  3140.  **
  3141.  ** xcb_void_cookie_t xcb_xv_shm_put_image_checked
  3142.  ** 
  3143.  ** @param xcb_connection_t *c
  3144.  ** @param xcb_xv_port_t     port
  3145.  ** @param xcb_drawable_t    drawable
  3146.  ** @param xcb_gcontext_t    gc
  3147.  ** @param xcb_shm_seg_t     shmseg
  3148.  ** @param uint32_t          id
  3149.  ** @param uint32_t          offset
  3150.  ** @param int16_t           src_x
  3151.  ** @param int16_t           src_y
  3152.  ** @param uint16_t          src_w
  3153.  ** @param uint16_t          src_h
  3154.  ** @param int16_t           drw_x
  3155.  ** @param int16_t           drw_y
  3156.  ** @param uint16_t          drw_w
  3157.  ** @param uint16_t          drw_h
  3158.  ** @param uint16_t          width
  3159.  ** @param uint16_t          height
  3160.  ** @param uint8_t           send_event
  3161.  ** @returns xcb_void_cookie_t
  3162.  **
  3163.  *****************************************************************************/
  3164.  
  3165. xcb_void_cookie_t
  3166. xcb_xv_shm_put_image_checked (xcb_connection_t *c  /**< */,
  3167.                               xcb_xv_port_t     port  /**< */,
  3168.                               xcb_drawable_t    drawable  /**< */,
  3169.                               xcb_gcontext_t    gc  /**< */,
  3170.                               xcb_shm_seg_t     shmseg  /**< */,
  3171.                               uint32_t          id  /**< */,
  3172.                               uint32_t          offset  /**< */,
  3173.                               int16_t           src_x  /**< */,
  3174.                               int16_t           src_y  /**< */,
  3175.                               uint16_t          src_w  /**< */,
  3176.                               uint16_t          src_h  /**< */,
  3177.                               int16_t           drw_x  /**< */,
  3178.                               int16_t           drw_y  /**< */,
  3179.                               uint16_t          drw_w  /**< */,
  3180.                               uint16_t          drw_h  /**< */,
  3181.                               uint16_t          width  /**< */,
  3182.                               uint16_t          height  /**< */,
  3183.                               uint8_t           send_event  /**< */);
  3184.  
  3185. /**
  3186.  * Delivers a request to the X server
  3187.  * @param c The connection
  3188.  * @return A cookie
  3189.  *
  3190.  * Delivers a request to the X server.
  3191.  * 
  3192.  */
  3193.  
  3194. /*****************************************************************************
  3195.  **
  3196.  ** xcb_void_cookie_t xcb_xv_shm_put_image
  3197.  ** 
  3198.  ** @param xcb_connection_t *c
  3199.  ** @param xcb_xv_port_t     port
  3200.  ** @param xcb_drawable_t    drawable
  3201.  ** @param xcb_gcontext_t    gc
  3202.  ** @param xcb_shm_seg_t     shmseg
  3203.  ** @param uint32_t          id
  3204.  ** @param uint32_t          offset
  3205.  ** @param int16_t           src_x
  3206.  ** @param int16_t           src_y
  3207.  ** @param uint16_t          src_w
  3208.  ** @param uint16_t          src_h
  3209.  ** @param int16_t           drw_x
  3210.  ** @param int16_t           drw_y
  3211.  ** @param uint16_t          drw_w
  3212.  ** @param uint16_t          drw_h
  3213.  ** @param uint16_t          width
  3214.  ** @param uint16_t          height
  3215.  ** @param uint8_t           send_event
  3216.  ** @returns xcb_void_cookie_t
  3217.  **
  3218.  *****************************************************************************/
  3219.  
  3220. xcb_void_cookie_t
  3221. xcb_xv_shm_put_image (xcb_connection_t *c  /**< */,
  3222.                       xcb_xv_port_t     port  /**< */,
  3223.                       xcb_drawable_t    drawable  /**< */,
  3224.                       xcb_gcontext_t    gc  /**< */,
  3225.                       xcb_shm_seg_t     shmseg  /**< */,
  3226.                       uint32_t          id  /**< */,
  3227.                       uint32_t          offset  /**< */,
  3228.                       int16_t           src_x  /**< */,
  3229.                       int16_t           src_y  /**< */,
  3230.                       uint16_t          src_w  /**< */,
  3231.                       uint16_t          src_h  /**< */,
  3232.                       int16_t           drw_x  /**< */,
  3233.                       int16_t           drw_y  /**< */,
  3234.                       uint16_t          drw_w  /**< */,
  3235.                       uint16_t          drw_h  /**< */,
  3236.                       uint16_t          width  /**< */,
  3237.                       uint16_t          height  /**< */,
  3238.                       uint8_t           send_event  /**< */);
  3239.  
  3240.  
  3241. #endif
  3242.  
  3243. /**
  3244.  * @}
  3245.  */
  3246.